tf2zpk

Transforms (discrete) transfer function parameters to zero-pole-gain parameters.

Syntax

[Z, P, K] = tf2zpk(NUM, DEN)

Inputs

NUM
The numerator polynomial coefficients.
DEN
The denominator polynomial coefficients.

Outputs

Z
The zeros of the system.
P
The poles of the system.
K
The gain factors of the system.

Example

Zero-pole-gain parameters from numerator and denominator coefficients:
num = [3 2];
den = [5 2.4 3];
sys = tf(num,den,0.2);
[z, p, k] = tf2zpk(cell2mat(sys.num),cell2mat(sys.den))
z = -0.666666667
p = [Matrix] 2 x 1
-0.24000 + 0.73648i
-0.24000 - 0.73648i
k = 0.6

Comments

The function returns the zero-pole-gain parameters of a discrete-time transfer function.