Change a character array to time
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Yongmin
am 25 Dez. 2014
Kommentiert: Yongmin
am 25 Dez. 2014
Hello, I want to change the character array such as '113203' to time(hr:min:sec) 11 hours 32 minutes and 03 seconds. Would you please inform me of how to do it? Thanks in advance and happy Christmas!
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 25 Dez. 2014
Bearbeitet: Azzi Abdelmalek
am 25 Dez. 2014
s='113203'
a=datenum(s,'HHMMSS')
out=datestr(out,'HH:MM:SS')
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Christmas / Winter finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!