To calculate the correlation between discrete samples from two simulated radar signals (column vectors of equal length), there appear to be two approaches in Matlab. One is the function "corr(x,y)" in the statistics toolbox and the other is "xcorr(x,y)" in the signal processing toolbox. For a given set of signal samples x,y these two functions give different results and the reason for the difference is not apparent.
MATLAB: Do “corr(x,y)” and “xcorr(x,y)” give different answers when x and y are simulated discrete samples of radar signals of form a*e^ib, with partially correlated randomized b values
MATLABsignal correlations
Best Answer