Why autocorr(x) and xcorr(x,x) give different results?
61 ビュー (過去 30 日間)
古いコメントを表示
I was trying to find the autocorrelation of a matrix 'x' using autocorr, however cross correlation function (xcorr) is giving me the expected results. The code used is given below, what could be the reason? is there a method by which they can be made equal?
x=randi([0 1],1,64); %Random values 0 & 1
aut_x=autocorr(x); % autocorrelation function of x
crs_x=xcorr(x,x); % cross correlation function of x with itself
0 件のコメント
回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!