Clear Filters
Clear Filters

Identifying the length of a timeseries

21 views (last 30 days)
Finding size of timeseries?
I’m trying to identify the length of a single 1x1 timeseries data set, however whenever I use the size function it returns 1x1. How would I identify the total number of time samples in the timeseries attached to each 1x1 single?
  1 Comment
Akira Agata
Akira Agata on 7 Mar 2019
Maybe your 1xN timeseries data set is stored in 1x1 cell... If possible, could you save your data set as .mat file and upload here?

Sign in to comment.

Accepted Answer

Kevin Phung
Kevin Phung on 7 Mar 2019
Sounds like the information is stored within a cell array. try doing bracket notation:
size(data{:})

More Answers (0)

Tags

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!