フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

error curve and conclutions from the error - echo cancellation mini project

1 回表示 (過去 30 日間)
yuval ohayon
yuval ohayon 2018 年 12 月 22 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
hi,im working on this subject ,my main code is lms algorithm,it wrks very well but id like to add a good insite on the error signal?
how can i display it in a plot with conclutions about the bheavior of the error like a function depends on the mu?or the error distirbution function?
here the main job:
for i=1:2680
total_signal(i)=echoed_signal_new(i)+person_2(i)
end
w=zeros(1,length(n))
for i=1:length(n)
y_desired(i)=w(i)'*new_x(i)
e(i)=total_signal(i)-y_desired(i)
if i<250
mu=0.32
if i>=250 && i<=1000
mu=0.22 %%%%starting fast converges and then slowly to get apropriet coefficient
if i>1000
mu=0.07
end
end
end
w(i+1)=w(i)+mu*e(i)*new_x(i) %%%determing coefficients
end
figure(6)
subplot(5,1,1)
plot(n,new_x(n))
title('desired signal')
xlim([0 2680])
subplot(5,1,2)
plot(n,person_2)
title('the interferece
subplot(4,1,2)
semilogy(n,abs(e(n)))
title('error amplitude ')
xlabel('samples')
ylabel('error value')
xlim([0 2680])
subplot(4,1,3)
plot(n,total_signal(n))
title('echoed+ person2 and noise from transmition line and noise room')
xlim([0 2680])
ylim([-2 2])
subplot(4,1,4)
plot(n,y_desired(n))
title(' estimated adaptive output')
xlim([0 2680])
ylim([-2 2])
figure(6)
plot(n,w(n))
title('wieght function')
xlim([0 2680])
can someone help?

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by