How to create a data vector on matlab by starting from a specific date.
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Davout
am 11 Mär. 2014
Bearbeitet: per isakson
am 11 Mär. 2014
Hello
I would like to create a data vector for a time series. I just want to create the data part o the time series by specific the start date and hour of the time series with a delta T of one hour (I don't need minutes or seconds). What is the best matlab function to use for this?
I could not find it easily on the time series documentation.
Thank you
0 Kommentare
Akzeptierte Antwort
per isakson
am 11 Mär. 2014
Bearbeitet: per isakson
am 11 Mär. 2014
With this approach, one need to worry less about floating point errors
sdn = datenum( 2014, 1, 1, [0:1:1000], 0, 0 );
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Dates and Time finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!