Description Usage Arguments Details Value Author(s) Examples
Returns difference equation coefficients corresponding to input differential equation coefficients and sample interval.
1 | ConvDiffCoef(db, dt)
|
db |
Vector of differential equation coefficients |
dt |
Time interval (s) |
Input differential equation is of the form db[1] * f(t) + db[2] * f'(t) + db[3] * f”(t)...
Output difference equation is of the form b[1] * x_i + b[2] * x_(i-1) + b[3] * x_(i-2)...
Coefficients of difference equation.
Jake Anderson
1 2 3 4 | db = c(0, 0, 1) # represents f''(t)
dt = 0.1
ConvDiffCoef(db, dt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.