Plot a timeseries from array of dates

10 Ansichten (letzte 30 Tage)
Jacob Brinkmann
Jacob Brinkmann am 31 Jul. 2012
Hello,
I have an array that is 6xN The 6 rows are YYYY, DD, MM, HH, MM, SS from timestamp data
I would like to know how can I plot this as a timeseries?
>> timelist([1 2 3 4 5 6],1)
ans =
2012
16
1
11
11
48

Akzeptierte Antwort

Oleg Komarov
Oleg Komarov am 31 Jul. 2012
Bearbeitet: Oleg Komarov am 31 Jul. 2012
Convert each column into a proper numeric date:
datenum(timelist')
EDIT
datetick('x')
  3 Kommentare
Oleg Komarov
Oleg Komarov am 31 Jul. 2012
See the edit, use it after you plotted.
Jacob Brinkmann
Jacob Brinkmann am 31 Jul. 2012
Ok, I should be able to figure the rest out now. Thank you!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Time Series 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!

Translated by