CELL to Matrix (Time/Date data)
조회 수: 1 (최근 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!