Filter Design Toolbox    

Examples of Adaptive Filters That Use LMS Algorithms

This section provides introductory examples using each of the least mean squares (LMS) adaptive filter functions in the toolbox.

The Filter Design Toolbox provides five adaptive filter design functions that use the LMS algorithms to search for the optimal solution to the adaptive filter:

To demonstrate the differences and similarities between the various LMS algorithms supplied in the toolbox, the LMS and NLMS adaptive filter examples use the same filter for the unknown system. In this case, the unknown filter is one of the filters used in the examples from gremez Examples -- the constrained lowpass filter.

From the figure you see that the filter is indeed lowpass and constrained to 0.2 ripple in the stopband. With this as the baseline, the adaptive LMS filter examples use the adaptive LMS algorithms and their initialization functions, to identify this filter in a system identification role. To review the general model for system ID mode, look at System Identification for the layout.

For the sign variations of the LMS algorithm, the examples use noise cancellation as the demonstration application, as opposed to the system identification application used in the LMS examples.


  Adaptive Filters in the Filter Design Toolbox adaptlms Example -- System Identification