simple way to analyze the echo..
by barkkathulla[ Edit ] 2012-09-22 12:44:46
echo_amp_per=.4;
echo_time_delay=.064;
echo_delay=echo_time_delay*samplerate;
echo=echo_amp_per*[zeros(1,echo_delay) x(echo_delay+1:samples)];
for i=1:max_iterations;
y(i)=w*x(i:i+taps-1)';
e(run,i)=echo(i)-y(i);
%mule(i)=.5/(x(i=i+taps-1)*x(i:i+taps-1)'+0.1);
w=w+2*mule*e(run,i)*x(i:i+taps-1);