Verify the Wiener Algorithms matlab code and Ws are zeros ?
Show older comments
Hello, I am new in filtering, I wrote a code for Wiener Algorithm Please verify it and pls guide me weight all Ws are zeros. Please anyone guide me Thanks in advance
% Wiener Algo
N = length(myData);
ord = 20;
x = myData;
w=zeros(1,ord);
mu =0.05;
for i=1:N
e(i) = d(i) - w(i)' * x(i);
w(i+1) = w(i);
end
for i=1:N
yd(i) = sum(w(i)' * x(i));
end
Accepted Answer
More Answers (0)
Categories
Find more on Adaptive Filters in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!