matrix of values convert into dates

1 次查看(过去 30 天)
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

采纳的回答

Walter Roberson
Walter Roberson 2012-5-16
datenum(fliplr(YourMatrix))

更多回答(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