Identifying the length of a timeseries
21 views (last 30 days)
Show older comments
Daniel Bamber
on 6 Mar 2019
Commented: Daniel Bamber
on 7 Mar 2019
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
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?
Accepted Answer
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)
See Also
Categories
Find more on Time Series Collections in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!