CELL to Matrix (Time/Date data)
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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!
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 15 Jun. 2016
load cell2date
out=regexp(c,'\d+:\d+','match','once')
3 Kommentare
Azzi Abdelmalek
am 15 Jun. 2016
Bearbeitet: Azzi Abdelmalek
am 15 Jun. 2016
you can use datevec
out=datevec(c,'yyyy-mm-dd HH:MM:SS')
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Dates and Time finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!