tf2zp | R Documentation |
Convert digital filter transfer function parameters to zero-pole-gain form.
tf2zp(b, a)
b |
moving average (MA) polynomial coefficients, specified as a numeric
vector or matrix. In case of a matrix, then each row corresponds to an
output of the system. The number of columns of |
a |
autoregressive (AR) polynomial coefficients, specified as a vector. |
A list of class Zpg with the following list elements:
complex vector of the zeros of the model (roots of B(z)
)
complex vector of the poles of the model (roots of A(z)
)
overall gain (B(Inf)
)
Geert van Boxtel, gjmvanboxtel@gmail.com
filter
b <- c(2, 3)
a <- c(1, 1/sqrt(2), 1/4)
zpk <- tf2zp(b, a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.