Adaptive lattice filter
Thedsp.AdaptiveLatticeFilter
System object™ computes output, error, and coefficients using a lattice-based FIR adaptive filter.
To implement the adaptive FIR filter object:
Create thedsp.AdaptiveLatticeFilter
object and set its properties.
Call the object with arguments, as if it were a function.
To learn more about how System objects work, seeWhat Are System Objects?
returns a lattice-based FIR adaptive filter System object,alf
= dsp.AdaptiveLatticeFilteralf
. This System object computes the filtered output and the filter error for a given input and desired signal.
returns analf
= dsp.AdaptiveLatticeFilter(len
)AdaptiveLatticeFilter
System object with theLength
property set tolen
.
returns analf
= dsp.AdaptiveLatticeFilter(Name,Value
)AdaptiveLatticeFilter
System object with each specified property set to the specified value. Enclose each property name in single quotes. Unspecified properties have default values.
[
filters the inputy
,err
] = alf(x
,d
)x
, usingd
as the desired signal, and returns the filtered output iny
and the filter error inerr
. The System object estimates the filter weights needed to minimize the error between the output signal and the desired signal. You can access these coefficients by accessing theCoefficients
property of the object. This can be done only after calling the object. For example, to access the optimized coefficients of thealf
filter, callalf.Coefficients
after you pass the input and desired signal to the object.
To use an object function, specify the System object as the first input argument. For example, to release system resources of a System object namedobj
, use this syntax:
release(obj)
[1] Griffiths, Lloyd J. “A Continuously Adaptive Filter Implemented as a Lattice Structure”.Proceedings of IEEE Int. Conf. on Acoustics, Speech, and Signal Processing,Hartford, CT, pp. 683–686, 1977 .
[2]Haykin, S.Adaptive Filter Theory, 4th Ed. Upper Saddle River, NJ: Prentice Hall, 1996.