필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
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 CenterFile Exchange에서 Dates and Time에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by