Download Filter Design Toolbox User`s Guide
Transcript
tf2ca In the above equations, H1(z) and H2(z) are real or complex allpass IIR filters given by fliplr ( ( D1 ( z ) ) ) fliplr ( ( D2 ( 1 ) ( z ) ) ) H1 ( z ) = ------------------------------------------ , H2 ( 1 ) ( z ) = -------------------------------------------------D1 ( z ) D2 ( 1 ) ( z ) where D1(z) and D2(z) are polynomials whose coefficients are given by d1 and d2. Note A coupled allpass decomposition is not always possible. Nevertheless, Butterworth, Chebyshev, and Elliptic IIR filters, among others, can be factored in this manner. For details, refer to Signal Processing Toolbox User's Guide. Examples See Also [b,a]=cheby1(9,.5,.4); [d1,d2]=tf2ca(b,a); % TF2CA returns denominators of the allpass. num = 0.5*conv(fliplr(d1),d2)+0.5*conv(fliplr(d2),d1); den = conv(d1,d2); % Reconstruct numerator and denonimator. max([max(b-num),max(a-den)]) % Compare original and reconstructed % numerator and denominators. ca2tf cl2tf iirpowcomp latc2tf tf2ca tf2latc Convert coupled allpass filter form to transfer function forms. Convert coupled allpass lattice filter to transfer function forms. Compute power complementary filter. Convert lattice filter to transfer function forms. Convert transfer function form to coupled allpass forms. Convert transfer function form to lattice filter forms. 11-151