datenum(fliplr(YourMatrix))
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
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dates and Time 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!