Change a character array to time
10 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Azzi Abdelmalek
2014 年 12 月 25 日
編集済み: Azzi Abdelmalek
2014 年 12 月 25 日
s='113203'
a=datenum(s,'HHMMSS')
out=datestr(out,'HH:MM:SS')
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Christmas / Winter についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!