expected value formula in xcorr

3 ビュー (過去 30 日間)
SYML2nd
SYML2nd 2019 年 7 月 9 日
回答済み: Navya Seelam 2019 年 7 月 17 日
Hi all,
when I use the xcorr, the formula used in matlab is C(m) = E[A(n+m)*conj(B(n))] = E[A(n)*conj(B(n-m))] where E is the expected value.
I have seen that matlab does not have a function $expected value", so I was wandering which is the real formula behind xcorr.
Thank you in advance
  2 件のコメント
Star Strider
Star Strider 2019 年 7 月 9 日
It appears to be the summation right below that, in the More About section.
Bjorn Gustavsson
Bjorn Gustavsson 2019 年 7 月 9 日
In my (oldish) version of matlab the xcorr function is a regular .m-file open for inspection. The heavy lifting is done by fft-ifft.

サインインしてコメントする。

回答 (1 件)

Navya Seelam
Navya Seelam 2019 年 7 月 17 日
Hi,
By default, xcorr computes raw correlations by summation with no normalization.
For more details on working of “xcorr” here:

カテゴリ

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