expected value formula in xcorr

2 visualizzazioni (ultimi 30 giorni)
SYML2nd
SYML2nd il 9 Lug 2019
Risposto: Navya Seelam il 17 Lug 2019
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 Commenti
Star Strider
Star Strider il 9 Lug 2019
It appears to be the summation right below that, in the More About section.
Bjorn Gustavsson
Bjorn Gustavsson il 9 Lug 2019
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.

Accedi per commentare.

Risposte (1)

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

Community Treasure Hunt

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

Start Hunting!

Translated by