how to calculate the correlation coefficient of two data sets ( containing dates) ?

1 回表示 (過去 30 日間)
Amr Hashem
Amr Hashem 2015 年 9 月 16 日
回答済み: the cyclist 2015 年 9 月 16 日
I have to column arrays which containing dates...
I want to calculate the correlation coefficient between column A and column B
I use this code :
but it didn't work. it seems that i have first to convert dates to numbers
any idea on how i could calculate the correlation coefficient between A & B ?

採用された回答

the cyclist
the cyclist 2015 年 9 月 16 日
You can use the datenum command to convert dates to numeric.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDates and Time についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by