Last chance! 50% off unlimited learning
Sale ends in
Convert digital filter zero-pole-gain data to transfer function form
zp2tf(z, p, g = 1)
A list of class "Arma" with the following list elements:
moving average (MA) polynomial coefficients
autoregressive (AR) polynomial coefficients
complex vector of the zeros of the model
complex vector of the poles of the model
overall gain. Default: 1.
Geert van Boxtel, gjmvanboxtel@gmail.com
as.Arma
, filter
g <- 1
z <- c(0, 0)
p <- pracma::roots(c(1, 0.01, 1))
ba <- zp2tf(z, p, g)
Run the code above in your browser using DataLab