tf2zp function

Transfer function to zero-pole-gain form

Transfer function to zero-pole-gain form

Convert digital filter transfer function parameters to zero-pole-gain form.

tf2zp(b, a)

Arguments

  • 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 b must be less than or equal to the length of a.
  • a: autoregressive (AR) polynomial coefficients, specified as a vector.

Returns

A list of class Zpg with the following list elements:

  • z: complex vector of the zeros of the model (roots of B(z))
  • p: complex vector of the poles of the model (roots of A(z))
  • g: overall gain (B(Inf))

Examples

b <- c(2, 3) a <- c(1, 1/sqrt(2), 1/4) zpk <- tf2zp(b, a)

See Also

filter

Author(s)

Geert van Boxtel, gjmvanboxtel@gmail.com

  • Maintainer: Geert van Boxtel
  • License: GPL-3
  • Last published: 2024-09-11