issue on cross correlation

Hello; I'm working on temperature data taken from a pt100 on matlab
I draw the temperature versus time ( I HAVE 11 DIFFERENT SENSORS PLACED ON DIFFERENT SPOTS SO I HAVE 11 DIFFERENT PLOTS ) AS SHOWN BELLOW
NOW I WANTED TO ANALYSE MY DATA USINE CROSS AND AUTO CORRELATION, AND THE ISSUE I HAVE WHEN I CROSS CORRELATE SENSOR NUMBER 2 AND FOR FOR EXAMPLE USING THIS CODE
function interco(x,y)
[X,Y] = xcorr(x,y)
plot(Y,X)
IS THAT I GET A TRAIANGLE MEANING THAT MY DATA ARE IDENTICAL WHICH CLEARLY IS NOT THE CASE
CAN ANYONE HELP PLEASE FIND AN ANSWER TO THIS PROBLEM
THANK YOU

1 Comment

Adam
Adam on 8 Jun 2015
Edited: Adam on 8 Jun 2015
That doesn't imply they are identical. The correlation is not normalised so a correlation of that magnitude ( 5x10^7) could mean anything in terms of how good the correlation truly is.
All that tells you is that the correlation at 0 lag is highest (as you would expect) and that it drops off rapidly as you move one signal to the left or right of the other.

Sign in to comment.

Answers (0)

Tags

Asked:

on 8 Jun 2015

Edited:

on 8 Jun 2015

Community Treasure Hunt

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

Start Hunting!