Signal Processing Toolbox | Help Desk |
sos2zp
Second-order section to zero-pole-gain conversion.
[z,p,k] = sos2zp(sos)
sos2zp
converts a second-order section representation of a given system to an equivalent zero-pole-gain representation.
[z,p,k] = sos2zp(sos)
returns the zeros z
, poles p
, and gain k
of the system given by sos
in second-order section form. The second-order section format of H(z) is given bysos
. sos
is an L-by-6 matrix which contains the coefficients of each second-order section stored in its rows:z
and p
contain the zeros and poles of the transfer function H(z):sos
.
Compute the poles, zeros, and gain of a simple system in second-order section form:
sos = [1 1 1 1 0 -1; -2 3 1 1 10 1];
[z,p,k] = sos2zp(sos)
z =
-0.5000 + 0.8660i
-0.5000 - 0.8660i
1.7808
-0.2808
p =
-1.0000
1.0000
-9.8990
-0.1010
k =
-2
sos2zp
finds the roots and poles of each second-order section using the roots
command. sos2zp
returns the roots and poles with conjugate pairs in consecutive locations, with the order of the pairs determined by their row in the sos
matrix. The gain k
is the product of the gains of the sections: