I have bunch of signals.and I have another signal that is one of mentioned signals but with shifted and different magnitude. How can I find out which signal shifted signal with different magnitude?
1 view (last 30 days)
Salaheddin Hosseinzadeh on 19 Aug 2014
Edited: Salaheddin Hosseinzadeh on 19 Aug 2014
read MATLAB documentation about crosscorr and how you've to interpret it's output
If you've an amplitude in the out put of crosscorr that is close to 1 it means f and b are similar, if amps are way below 1 then they ain't similar.
Fs = 100; % Hz
t = 0:1/Fs:2*pi; %
f = 1; % Hz
x = sin(2*pi*f*t);
y = sin(2*pi*f*t + pi/2); % sine and cosine with frequency of 1
z = t.^2; %