Cross correlation at 0 lag between two time series data sets

Hi everyone.
I am new at MATLAB. I want to do cross-correlation of two time series data sets at 0 lag and find the correlation coefficient for the same. Here I am attaching data sets as P and Q. the first column of data is time, while the second column is amplitude.

답변 (1개)

Image Analyst
Image Analyst 2020년 2월 15일

0 개 추천

Isn't that just what the first example in the documentation for xcorr() does? Did you see it?
Also use corrcoeff() to get the correlation coefficient.

댓글 수: 1

Hi! Yes, It is not working as I have not much more knowledge of it. Could you try please with given data.

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

카테고리

태그

질문:

2020년 2월 15일

댓글:

2020년 2월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by