turn data to time series
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
hi, i have data structured in columns as [year month day hour price] . what is the right syntax to use function timeseries to turn my data to a time series? do i need to transform the year,month,day,hour to date string?
0 Kommentare
Antworten (1)
Azzi Abdelmalek
am 7 Aug. 2013
Bearbeitet: Azzi Abdelmalek
am 7 Aug. 2013
dat='1992-12-12 12:12:12',
a=datenum(dat,'yyyy-mm-dd HH:MM:SS')
% to get dat,
datestr(a)
0 Kommentare
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!