jalal_merhi
Newbie level 4
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
% x = input array x
% d = desired array d
% 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 - 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....
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
% x = input array x
% d = desired array d
% 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 - 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....