Correlate two data sets
显示 更早的评论
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
J Singh
2018-7-31
回答(1 个)
jonas
2018-7-31
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Correlation and Convolution 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!