quandl api for matlab and matlab serial date number (datenum) -



quandl api for matlab and matlab serial date number (datenum) -

i had uncertainty using quandl api matlab: when info using quandl.get function, example:

startdate = {'2013-12-20'}; % initial date enddate = {'2014-10-21'}; % final date info = quandl.get('ofdp/future_cl1', 'trim_start', startdate, 'trim_end', enddate);

i can access field data.settle.data prices , data.settle.time time date (perhaps time format of timeseries matlab).

the problem following: in dates = data.settle.time, date format isn't compatible matlab date. example, if utilize datestr(dates) corresponding string date isn't actual date when download info manually.

i tried transform dates vector manually using datenum(startdate) + dates.

but didn't work @ all.

i know how can solve (perhaps little) problem in order real matlab serial date (like datenum(2014,10,21)).

thanks in advance!

datenum(getabstime(data)) should trick.

matlab date serial-port time-series quandl

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -