Computes the numerator and the denominator coefficients for the lattic and ladder coeffcients
[b,a] = ladr2dir(K,C)
Lattice coeffcients of an IIR filter
Ladder coefficients of an IIR filter
Numerator coefficients of the IIR filter
Denominator coefficients of the IIR filter
It computes the numerator and the denominator coefficients from the lattice and the ladder coeffcients of an IIR filter. For all ladder coefficients corresponding an all-poles IIR filter, the lattice coeffcients may be simply given as 1 or [ 1 0 0 0 ] equal to length of the ladder coeffcients.
// IIR filter coeffcients B=[1 2 2 1]; B=B/sum(B); A=[ 1 0.5416667 0.625 0.3333333]; // Lattice and Ladder coeffcients [K,C]=dir2ladr(B,A) // computing IIR filter back from the lattice and the ladder coeffcients [b,a]=ladr2dir(K,C) | ![]() | ![]() |