Correlate two data sets
15 次查看(过去 30 天)
显示 更早的评论
I've two sets of data, which I would like to correlate. The number of elements in both the data sets are different and have different respective dates. What would be the best way to do this?

2 个评论
KALYAN ACHARJYA
2018-7-31
You can try to by considering all dates, in both data sets by color variation in the value of both datasets
回答(1 个)
jonas
2018-7-31
Obviously there is a linear increase over time in the longer vector. You can simply interpolate the values in the longer vector to match the exact dates of the shorter vector and then check the correlation by corr.
2 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!