How do I use a timevector of format HH:MM:SS created using datestr in creating a timeseries object?

1 Ansicht (letzte 30 Tage)
I had created a timevector using datestr function. This timevector needs to go in place of timevalues in the timeseries function. But when I create the timeseries object I am getting number values in the time values, and not in the HH:MM:SS format. The time values in the timeseries object are of the format Annotation 2019-03-29 121113.jpg
time=datestr(total,'HH:MM:SS'); % total is the no. of days from matlab reference
Ts=timeseries(field/1000,time);

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 29 Mär. 2019
Bearbeitet: Walter Roberson am 29 Mär. 2019

Weitere Antworten (0)

Kategorien

Mehr zu Time Series finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by