Cross correlation at 0 lag between two time series data sets

1 visualización (últimos 30 días)
ravindra gupta
ravindra gupta el 15 de Feb. de 2020
Comentada: ravindra gupta el 15 de Feb. de 2020
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.

Respuestas (1)

Image Analyst
Image Analyst el 15 de Feb. de 2020
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 comentario
ravindra gupta
ravindra gupta el 15 de Feb. de 2020
Hi! Yes, It is not working as I have not much more knowledge of it. Could you try please with given data.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by