| Filter Design Toolbox | ![]() |
Compute power complementary filter.
Syntax
Description
[bp,ap] = iirpowcomp(b,a)
returns the coefficients of the power complementary IIR filter g(z) = bp(z)/ap(z) in vectors bp and ap, given the coefficients of the IIR filter h(z) = b(z)/a(z) in vectors b and a. b must be symmetric (Hermitian) or antisymmetric (antihermitian) and of the same length as a. The two power complementary filters satisfy the relation
[bp,ap,c] = iirpowcomp(b,a)
where c is a complex scalar of magnitude =1, forces bp to satisfy the generalized hermitian property
When c is omitted, it is chosen as follows:
Examples
[b,a]=cheby1(10,.5,.4); [bp,ap]=iirpowcomp(b,a); [h,w,s]=freqz(b,a); [h1,w,s]=freqz(bp,ap); s.plot='mag'; s.yunits='sq';freqzplot([h h1],w,s)
See Also
tf2ca, tf2cl, ca2tf, cl2tf
| iirpeak | iirrateup | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2009 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |