Least Mean Square (LMS)

An example of least mean square algorithm to determine a linear model's parameter.
1,7K Descargas
Actualizado 3 nov 2016

Ver licencia

In this code, a linear equation is used to generate sample data using a slope and bias. Later a Gaussian noise is added to the desired output. The noisy output and original input is used to determine the slope and bias of the linear equation using LMS algorithm. This implementation of LMS is based on batch update rule of gradient decent algorithm in which we use the sum of error instead of sample error. You can modify this code to create sample based update rule easily.

Citar como

Shujaat Khan (2025). Least Mean Square (LMS) (https://la.mathworks.com/matlabcentral/fileexchange/60080-least-mean-square-lms), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2014b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

Description update