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!