Signal Processing Toolbox | ![]() ![]() |
Convert zero-pole-gain filter parameters to transfer function form.
Syntax
[b,a] =
zp2tf(z,p,k)
Description
zp2tf
forms transfer function polynomials from the zeros, poles, and gains of a system in factored form.
[b,a]
finds a rational transfer function =
zp2tf(z,p,k)
given a system in factored transfer function form
Column vector p
specifies the pole locations, and matrix z
specifies the zero locations, with as many columns as there are outputs. The gains for each numerator transfer function are in vector k
. The zeros and poles must be real or come in complex conjugate pairs. The polynomial denominator coefficients are returned in row vector a
and the polynomial numerator coefficients are returned in matrix b
, which has as many rows as there are columns of z
.
Inf
values can be used as place holders in z
if some columns have fewer zeros than others.
Algorithm
The system is converted to transfer function form using poly
with p
and the columns of z
.
See Also
|
Convert digital filter second-order section parameters to transfer function form. |
|
Convert state-space filter parameters to transfer function form. |
|
Convert transfer function filter parameters to zero-pole-gain form. |
|
Convert digital filter zero-pole-gain parameters to second-order sections form. |
|
Convert zero-pole-gain filter parameters to state-space form. |
![]() | zp2ss | zplane | ![]() |