Please find attached the vector that I am trying to convert
Converting date string to number
9 次查看(过去 30 天)
显示 更早的评论
I have a vector of the following format 01-Jul-1980 00:00:00 how can I convert to a matlab date number?
回答(3 个)
Walter Roberson
2018-2-11
You have a datetime array. You can convert it to serial datenum using
datenum(issuedate)
Note that this is typically not required any more, but can be required for some plotting reasons from R2013b to R2015b.
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!