Convert timetable to m-by-6 matrix

2 次查看(过去 30 天)
Hi, I'm trying to convert a datetime array from this format:
2010-Jan-11 13:08.05
into a m-by-6 matrix with this format:
2010 1 11 13 8 5
I can't wrap my head around how to convert the timetable back to a regular matrix.
In my case, the length of M is around half a million.

采纳的回答

madhan ravi
madhan ravi 2020-6-20
doc hms
doc ymd

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dates and Time 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by