<< ladr2dir Signal Processing Supplementary toolbox latcfilt >>

Signal Processing Supplementary toolbox >> Signal Processing Supplementary toolbox > ladrfilt

ladrfilt

Performs filtering operation using the lattice and the ladder coefficients

Calling Sequence

y = ladrfilt(K,C,x)

Parameters

K

A vector of lattice coefficients

C

A vector ladder coefficients

x

A discrete time signal to be filtered

y

Filtered signal

Description

It performs the IIR filtering operation using the lattice and the ladder coeffcients. It is recursive and considered to be more effcient as compared with the direct filtering operation.

Examples

X=[ 3, 7, 1 , 8, 12, 5, -3,  -1, 4, 7, 3, 1];
// IIR filter coefficients
// Numerator coefficients
B=[1, 2, 2, 1];
B=B/sum(B);
// Denominator coefficients
A=[1,13/24,5/8,1/3];
// Lattice -ladder coefficients
[K,C]=dir2ladr(B,A);
// Filtering X with K and C
Y=ladrfilt(K,C,X);

//Direct filtering using B and A
Yd=filter(B,A,X)

See Also

Authors


Report an issue
<< ladr2dir Signal Processing Supplementary toolbox latcfilt >>