フィルターのクリア

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 Center および File ExchangeTime Series についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by