Cross correlation at 0 lag between two time series data sets
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Image Analyst
2020-2-15
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.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!