Passing datenum a column vector?
이전 댓글 표시
Hi, I have a column vector of dates in yyyymmdd format e.g.
19961016
19961017
19961018
19961021
19961022
19961023
19961024
Is there a way to convert each entry into a serial date number and have a column vector of serial date numbers back?
thanks friz
채택된 답변
추가 답변 (1개)
Andrei Bobrov
2011년 5월 7일
more
sd = datenum(num2str(d),'yyyymmdd')
카테고리
도움말 센터 및 File Exchange에서 Dates and Time에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!