Adaptive line enhancemment application
No License
%function [ALEstruct]=ale(f,fs,munoise,sigmanise,mulms,ncoef,dur)
%function to perform adaptive line enhancement using LMS algorithm and an adaptive FIR filter
%ALE concept enhances a single tone signal (frequency f) affected by white noise (mu,sigma)
%REQUIRES FILTER DESIGN TOOLBOX, SIGNAL PROCESSING TOOLBOX
%INPUTS
%f: frequency of sinusoid
%fs: sampling signal of sinusoid (At least 2f)
%munoise, sigma: mean and variance of white noise
%mulms, value of the step parameter in the LMS algorithm
%ncoef: number of coefficients of the FIR filter
%dur: simulation time in number of signal periods
%OUTPUTS
%ALEstruct: a structure with fields
% .weights: the filter's weights after finishing iterations
% .error : evolution of error signal during simulation
% .output: output of the filter
% .signal: a copy of the input signal
% .desired: a copy of the desired signal in the LMS adaptive scheme. Note: e(n)=output(n)-d(n)
% .mse .mmselms .emselms .meanwlms .pmselms: results of predicted and simulated filter behavior in terms of MSE, minimum MSE, excess
% MSE, coefficient vector means and predicted learning curve (pmselms).
Cite As
luis emiliani (2024). Adaptive line enhancemment application (https://www.mathworks.com/matlabcentral/fileexchange/13838-adaptive-line-enhancemment-application), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Digital and Analog Filters > Digital Filter Analysis >
Tags
Acknowledgements
Inspired by: Simulation of Trunked Communication Network (Lost Calls Cleared)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | add a comment and example |