Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Convert zero-pole-gain filter parameters to state-space form

`[A,B,C,D] = zp2ss(z,p,k)`

`zp2ss`

converts a zero-pole-gain representation
of a given system to an equivalent state-space representation.

`[A,B,C,D] = zp2ss(z,p,k)`

finds
a single input, multiple output, state-space representation

$$\begin{array}{l}\dot{x}=Ax+Bu\\ y=Cx+Du\end{array}$$

given a system in factored transfer function form.

$$H(s)=\frac{Z(s)}{P(s)}=k\frac{(s-{z}_{1})(s-{z}_{2})\cdots (s-{z}_{n})}{(s-{p}_{1})(s-{p}_{2})\cdots (s-{p}_{n})}$$

Column vector `p`

specifies the pole locations,
and matrix `z`

the zero locations with as many columns
as there are outputs. The gains for each numerator transfer function
are in vector `k`

. The `A`

, `B`

, `C`

,
and `D`

matrices are returned in controller canonical
form.

`Inf`

values may be used as place holders in `z`

if
some columns have fewer zeros than others.

Was this topic helpful?