Borrar filtros
Borrar filtros

turn data to time series

1 visualización (últimos 30 días)
Ilana
Ilana el 7 de Ag. de 2013
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?

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 7 de Ag. de 2013
Editada: Azzi Abdelmalek el 7 de Ag. de 2013
dat='1992-12-12 12:12:12',
a=datenum(dat,'yyyy-mm-dd HH:MM:SS')
% to get dat,
datestr(a)

Categorías

Más información sobre Time Series en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by