Formula for cross-correlation in matlab

2 ビュー (過去 30 日間)
Sagar
Sagar 2016 年 3 月 9 日
回答済み: Sagar 2016 年 3 月 11 日
When we calculate cross correlation using the function 'xcorr' with 'coeff' option, does the function calculate Pearson correlation coefficient or something else?

採用された回答

Sagar
Sagar 2016 年 3 月 11 日
It looks like that 'xcorr' does not calculate Pearson correlation coefficient directly. To get Pearson correlation coefficient, we have to remove the mean first and then call 'xcorr' which will then give Pearson correlation coefficient.

その他の回答 (1 件)

dpb
dpb 2016 年 3 月 9 日
In the Statistics Toolbox, see
doc corr

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by