How to use datenum on hourly data
1 view (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
the cyclist
on 13 Jun 2016
You could add columns of zeros to represent minute and seconds.
0 Comments
See Also
Categories
Find more on Dates and Time in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!