How to use datenum on hourly data

조회 수: 10 (최근 30일)
darkgod89
darkgod89 2016년 6월 13일
답변: the cyclist 2016년 6월 13일
I have a csv file with the first column containing the year, 2nd month, 3rd day and 4th hour. I tried to convert it to serial date number using datenum but it didn't work as I didn't have the minutes and seconds data. Is there a way around this?

답변 (1개)

the cyclist
the cyclist 2016년 6월 13일
You could add columns of zeros to represent minute and seconds.

카테고리

Help CenterFile Exchange에서 Dates and Time에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by