Identifying the length of a timeseries

40 ビュー (過去 30 日間)
Daniel Bamber
Daniel Bamber 2019 年 3 月 6 日
コメント済み: Daniel Bamber 2019 年 3 月 7 日
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 件のコメント
Akira Agata
Akira Agata 2019 年 3 月 7 日
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?

サインインしてコメントする。

採用された回答

Kevin Phung
Kevin Phung 2019 年 3 月 7 日
Sounds like the information is stored within a cell array. try doing bracket notation:
size(data{:})
  1 件のコメント
Daniel Bamber
Daniel Bamber 2019 年 3 月 7 日
That's perfect thank-you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTime Series Collections についてさらに検索

タグ

製品


リリース

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by