You are here : matlabSignal Processingss2zp

ss2zp() - Signal Processing

ss2zp converts a state-space representation
of a given system to an equivalent zero-pole-gain representation.
The zeros, poles, and gains of state-space systems represent the transfer
function in factored form.[z,p,k] = ss2zp(A,B,C,D,i) calculates
the transfer function in factored form H(s)−Z(s)P(s)−k(s−z1)(s−z2)⋯(s−zn)(s−p1)(s−p2)⋯(s−pn)of the continuous-time systemx˙=Ax+Buy=Cx+Dufrom the ith input (using the ith
columns of B and D). The column
vector p contains the pole locations of the denominator
coefficients of the transfer function. The matrix z contains
the numerator zeros in its columns, with as many columns as there
are outputs y (rows in C). The
column vector k contains the gains for each numerator
transfer function.ss2zp also works for discrete time systems.
The input state-space system must be real.The ss2zp function is part of the standard MATLAB® language.


Syntax

[z,p,k] = ss2zp(A,B,C,D,i)


Example

z = eig([A B;C D], diag([ones(1,n) 0]);


Output / Return Value


Limitations


Alternatives / See Also


Reference