rizwan12
Junior Member level 1
when i run this code there is an error of index of element to remove exceeds matrix dimension.anyhelp is highly appreciated
Code:
load x %%%% load ecg signal%%%%%%
plot(x)
a=x./100
figure
plot(a)
refer=randn(1,length(a)) %%%% refrence noise signal %%%%%%
b=10.*refer
c=a+b'; %%%% corrupted signal %%%%%%
plot(c)
mu=0.005
ha=adaptfilt.lms(32,mu)
[y,e]=filter(ha,b',a)
Last edited by a moderator: