Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
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 ?

Respuesta aceptada

the cyclist
the cyclist el 16 de Sept. de 2015
You can use the datenum command to convert dates to numeric.

Más respuestas (0)

Categorías

Más información sobre Dates and Time en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by