Plot a timeseries from array of dates

조회 수: 1 (최근 30일)
Jacob Brinkmann
Jacob Brinkmann 2012년 7월 31일
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

채택된 답변

Oleg Komarov
Oleg Komarov 2012년 7월 31일
편집: Oleg Komarov 2012년 7월 31일
Convert each column into a proper numeric date:
datenum(timelist')
EDIT
datetick('x')
  댓글 수: 3
Oleg Komarov
Oleg Komarov 2012년 7월 31일
See the edit, use it after you plotted.
Jacob Brinkmann
Jacob Brinkmann 2012년 7월 31일
Ok, I should be able to figure the rest out now. Thank you!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Time Series에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by