<< ipermute Signal Processing Supplementary toolbox ladrfilt >>

Signal Processing Supplementary toolbox >> Signal Processing Supplementary toolbox > ladr2dir

ladr2dir

Computes the numerator and the denominator coefficients for the lattic and ladder coeffcients

Calling Sequence

[b,a] = ladr2dir(K,C)

Parameters

K

Lattice coeffcients of an IIR filter

C

Ladder coefficients of an IIR filter

b

Numerator coefficients of the IIR filter

a

Denominator coefficients of the IIR filter

Description

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.

Examples

// 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)

See Also

Authors


Report an issue
<< ipermute Signal Processing Supplementary toolbox ladrfilt >>