Signal Processing Toolbox | Help Desk |
tf2zp
Transfer function to zero-pole-gain conversion.
[z,p,k] = tf2zp(num,den)
tf2zp
finds the zeros, poles, and gains of a system in polynomial transfer function form.
[z,p,k] = tf2zp(num,den)
finds the single-input, multi-output (SIMO) factored transfer function form:den
specifies the coefficients of the denominator in descending powers of s. Matrix num
indicates the numerator coefficients with as many rows as there are outputs. The zero locations are returned in the columns of matrix z
, with as many columns as there are rows in num
. The pole locations are returned in column vector p
and the gains for each numerator transfer function in vector k
.
tf2zp
also works for discrete systems. The function zp2tf
is the inverse of tf2zp
.
Find the zeros, poles, and gains of the system num = [2 3]; den = [1 0.4 1]; [z,p,k] = tf2zp(num,den) z = -1.5000 p = -0.2000 + 0.9798i -0.2000 - 0.9798i k = 2The system is converted to state-space using
tf2ss
and then to zeros, poles, and gains using ss2zp
.