Zero-pole-gain to transfer function
Convert digital filter zero-pole-gain data to transfer function form
zp2tf(z, p, g = 1)
z
: complex vector of the zeros of the modelp
: complex vector of the poles of the modelg
: overall gain. Default: 1.A list of class "Arma" with the following list elements:
g <- 1 z <- c(0, 0) p <- pracma::roots(c(1, 0.01, 1)) ba <- zp2tf(z, p, g)
as.Arma
, filter
Geert van Boxtel, gjmvanboxtel@gmail.com