image thumbnail

Least Mean Square for System Identification

version (2.49 KB) by Santhana Raj
Least Mean Square (LMS) used for system identification.


Updated 10 Sep 2014

View License

Least mean squares (LMS) algorithms are a class of adaptive filter used to mimic a desired filter by finding the filter coefficients that relate to producing the least mean squares of the error signal (difference between the desired and the actual signal).
The weights update Formula for every Iteration is Wt new=Wt old + mu * error *input;
For Example:
inp=inp-(min(inp)); % required for audio signals
h=[1 -4 6 -5 2]; % Known System papametes for a low Pass filter h

Author:Santhana Raj.A

Cite As

Santhana Raj (2022). Least Mean Square for System Identification (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!