Change a character array to time
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Yongmin
el 25 de Dic. de 2014
Comentada: Yongmin
el 25 de Dic. de 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 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 25 de Dic. de 2014
Editada: Azzi Abdelmalek
el 25 de Dic. de 2014
s='113203'
a=datenum(s,'HHMMSS')
out=datestr(out,'HH:MM:SS')
Más respuestas (0)
Ver también
Categorías
Más información sobre Christmas / Winter en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!