electricalpeople
Newbie level 6
Hi, I have two estimated(separated)signals and a reference signal. One of the estimated signal is quiet same as the reference signal. I was trying to compare the estimated signals with the reference signal and want know which signal is what. I tried using the correlation but did not work properly. The following shows the steps of cross correlation that I used,
c1 = xcorr(S1,shat(1,);
c2= xcorr(S1,shat(2,);
c11=sum(c1); c22=sum(c2);
if c11>c22
dn=shat(2,;
else
dn=shat(1,;
end
Is this correct what I did? Someone please suggest some ideas for comparison of the signals. I am totally lost here...Thanks in advance.
c1 = xcorr(S1,shat(1,);
c2= xcorr(S1,shat(2,);
c11=sum(c1); c22=sum(c2);
if c11>c22
dn=shat(2,;
else
dn=shat(1,;
end
Is this correct what I did? Someone please suggest some ideas for comparison of the signals. I am totally lost here...Thanks in advance.