Converting time format from hh mm ss to minutes or seconds
조회 수: 8 (최근 30일)
이전 댓글 표시
I imported a time series in the format of HH:MM:SS from excel to matlab but it appeared as 0.4532343954 or something. How can I convert it to minutes or seconds starting zero.
The time data are in 5 seconds intervals.
댓글 수: 0
채택된 답변
Star Strider
2019년 3월 17일
Try this:
Tv = datetime(0.4532343954, 'Format','HH:mm:SS', 'ConvertFrom','excel')
Tv =
datetime
10:52:45
댓글 수: 0
추가 답변 (0개)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!