Finding Autocorrelation function with xcorr

조회 수: 6 (최근 30일)
Utku
Utku 2014년 1월 22일
댓글: Utku 2014년 1월 22일
I need to find autocorrelation function of a signal. I use xcorr() function. The signal is given as signal.png
I need to use "unbiased" version, specifically xcorr(signal, 'unbiased'). However, when I use this the autocorrelation I observe exhibits an increasing behavior. My result is attached as xcorr-unbiased.png
I know autocorrelation function must be maximum at center. I could not understand why this is happening. Can somebody explain this please?
If I use xcorr(signal, 'coeff') I observe a triangular shape, which I expect. However, my professor says this is not the one I need.
  댓글 수: 2
Image Analyst
Image Analyst 2014년 1월 22일
It would be best if you attached the signal as an m-file or something so we have it to experiment with. I don't feel like typing in all those elements by hand.
Utku
Utku 2014년 1월 22일
Thanks for your quick respond. I attached the signal.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Correlation and Convolution에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by