array data to time series data value

Hi, anybody know how to convert the data in array format to time series format?

 Accepted Answer

timeseries(data) -- assumes the rows correspond to timepoints 1 second apart
timeseries(data, time) -- number of times should be same as number of rows

More Answers (0)

Community Treasure Hunt

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

Start Hunting!