필터 지우기
필터 지우기

A neat way to carry out normalised cross correlation on two singals

조회 수: 1 (최근 30일)
Bran
Bran 2015년 6월 24일
댓글: Bran 2015년 6월 30일
0 down vote favorite Is there a neat a fast way of computing the normalised cross correlation of two signals in MATLAB?
My two signals X and Y when I tried C = normxcorr2(X,Y) and plotted C my results did not look as I would expect

채택된 답변

Adam
Adam 2015년 6월 24일
doc xcorr
Look at the 'scaleopt' options. I think 'coeff' is the one you want.
  댓글 수: 1
Bran
Bran 2015년 6월 30일
Thank you very much in fact I have a follow on question - I am trying to determine the synchronicity between two oscillating signals. Which would be the better approach, to normalise the signals between 0 and 1 or to normalise the cross correlation? I dont really mind about the difference in amplitude but I would like to see synchronicity. Originally I thought to do cross correlation and look at the max of the graph however, I am not sure that this is the correct approach. I have also been looking at coherence of the spectra

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

추가 답변 (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