How to use datenum on hourly data

1 回表示 (過去 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 Center および File ExchangeDates and Time についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by