Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

FXLMS MATLAB source code

Status
Not open for further replies.

jalal_merhi

Newbie level 4
Joined
May 16, 2007
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,326
fxlms matlab

hi all,

i have this matlab function code to provide LMS algorithm

function[h,y] = lms(x,d,delta,N)
% [w,y] = lms(x,d,delta,N)
% w = estimated FIR filter
% y = output array y(n)
% x = input array x(n)
% d = desired array d(n)
% delta = stepsize
% N = length of the FIR filter

M = length(x); y = zeros(1,M);
w = zeros(1,N);

for n = N:M
x1 = x(n:-1:n-N+1)
y = w*x1'
e = d(n) - y
w = w + delta*e*x1;

how can i expand this program to become the FXLMS algorithm to implement the Active Noise COntrol??
is there anybody who can help me to expand this program to be the FXLMS algorithm??
i'm so desperately need help....:cry::cry:
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top