expected value formula in xcorr
显示 更早的评论
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
2019-7-9
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
2019-7-17
0 个投票
Hi,
By default, “xcorr” computes raw correlations by summation with no normalization.
For more details on working of “xcorr” here:
类别
在 帮助中心 和 File Exchange 中查找有关 Correlation and Convolution 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!