File Exchange

image thumbnail

Adaptive line enhancemment application

version 1.0 (7.23 KB) by

Adaptive line enhancemment application

8 Downloads

Updated

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).

Comments and Ratings (2)

jimi essian

im an electronic enggg
in my project i have problem plz help me
thx

Hao Yanchun

Thank you very much!

MATLAB Release
MATLAB 7.1.0 (R14SP3)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video