datevec datenum conversion problem
조회 수: 9 (최근 30일)
이전 댓글 표시
On my machine, using Matlab R2014a, datevec(datenum(x)) produces result different from x:
>> datevec(datenum([2007, 4, 1, 30, 0, 0]))
ans =
2007 4 2 6 0 0
Is this a bug, or am I doing something wrong?
댓글 수: 0
채택된 답변
Mischa Kim
2015년 6월 2일
Faber, looks good to me. 30h = 24h + 6h, in other words, the date corresponds to April 2, 6:00 AM.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Time Series Objects에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!