Borrar filtros
Borrar filtros

matrix of values convert into dates

1 visualización (últimos 30 días)
David Lopez
David Lopez el 16 de Mayo de 2012
i have a matrix like this
1 1 1973
2 1 1973
3 1 1973
4 1 1973
5 1 1973
6 1 1973
7 1 1973
8 1 1973
9 1 1973
10 1 1973
11 1 1973
12 1 1973
13 1 1973
where (:,1)=day (:,2)=month (:,3)=year
i want convert each line in a vector with date format
and i have and other vector with a temp number, and i want plot my new vectors (dates) vs temp
DATES and TEMP, both have the same length

Respuesta aceptada

Walter Roberson
Walter Roberson el 16 de Mayo de 2012
datenum(fliplr(YourMatrix))

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