I am trying to use the corr2 function of matlab to find the correlation coefficient between two time series data so that I can find the similarity between the two signals.
But I fail to do the same when the signals are of different length and are timeshifted.
DTW is a technique which I can use but I want to know how to compare signals using only correlation in this case.