CELL to Matrix (Time/Date data)
10 ビュー (過去 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!
0 件のコメント
採用された回答
Azzi Abdelmalek
2016 年 6 月 15 日
load cell2date
out=regexp(c,'\d+:\d+','match','once')
3 件のコメント
Azzi Abdelmalek
2016 年 6 月 15 日
編集済み: Azzi Abdelmalek
2016 年 6 月 15 日
you can use datevec
out=datevec(c,'yyyy-mm-dd HH:MM:SS')
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Dates and Time についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!