필터 지우기
필터 지우기

turn data to time series

조회 수: 1 (최근 30일)
Ilana
Ilana 2013년 8월 7일
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?

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 8월 7일
편집: Azzi Abdelmalek 2013년 8월 7일
dat='1992-12-12 12:12:12',
a=datenum(dat,'yyyy-mm-dd HH:MM:SS')
% to get dat,
datestr(a)

카테고리

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