CELL to Matrix (Time/Date data)

1 次查看(过去 30 天)
Hi all,
Someone can tell me please how to convert this cells to matrix (dates) and split the date by hour and minute?
thank you!

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2016-6-15
load cell2date
out=regexp(c,'\d+:\d+','match','once')
  3 个评论
Azzi Abdelmalek
Azzi Abdelmalek 2016-6-15
编辑:Azzi Abdelmalek 2016-6-15
you can use datevec
out=datevec(c,'yyyy-mm-dd HH:MM:SS')
G
G 2016-6-15
thank you Azzi!!!!
is what i need
kind regards

请先登录,再进行评论。

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