expected value formula in xcorr
Mostrar comentarios más antiguos
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 comentarios
Star Strider
el 9 de Jul. de 2019
Bjorn Gustavsson
el 9 de Jul. de 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.
Respuestas (1)
Navya Seelam
el 17 de Jul. de 2019
0 votos
Hi,
By default, “xcorr” computes raw correlations by summation with no normalization.
For more details on working of “xcorr” here:
Categorías
Más información sobre Correlation and Convolution en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!