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!