MATLAB: Dsp

dsp

how to calculate normalised cross correlation for the signal?

Best Answer

xcorr() with the 'coeff' option.
x = randn(1000,1);
y = randn(1000,1);
[C,lags] = xcorr(x,y,20,'coeff');