residuez
Calling Sequence
[r,p,f,m]=residuez(b,a)
Parameters
b:
Real or complex valued vector or matrix
a:
Real or complex valued vector or matrix
Description
It computes the partial fraction expansion of filter H(z)= B(z)/A(z) where inputs b and a are vectors specifying the digital filter.NOTE that the polynomials 'b' and 'a' should have real coefficients(because of the function 'filter' used in polyval). This function works for transfer functions which are proper fractions.
\begin{eqnarray}
H(z)=\frac{r(1)}{[1-\frac{p(1)}{z}]^{m(1)}}+..........+\frac{r(N)}{[1-\frac{p(N)}{z}]^{m(N)}}
\end{eqnarray}
Examples