double timeseries データ の最終値を取得する

8 views (last 30 days)
Yuma Yamazaki
Yuma Yamazaki on 26 Aug 2020
Commented: Yuma Yamazaki on 26 Aug 2020
double timeseries データ の最終値(時間情報不要)を取得するにはどのようにすればよろしいでしょうか。
通常の end構文では処理出来ず躓いております。
サンプルファイルを添付いたしますので、ご回答頂けると幸いです。

Accepted Answer

Kenta
Kenta on 26 Aug 2020
data1=Teva.Data;
data1(end)
こんにちは、上のようにすればよいです。
また、変数の扱いが難しくうまくいかないときは、インターネットで調べると大体ヒットします。
例えば、timeseries data matlab と打つと
以下のようなtimeseries変数のデータの扱いが一番上に出てきました
参考になれば幸いです。
  1 Comment
Yuma Yamazaki
Yuma Yamazaki on 26 Aug 2020
早速のご回答、感謝申し上げます。
問題も解決いたしましたし、大変参考になりました。
有難うございました。

Sign in to comment.

More Answers (0)

Categories

Find more on 時系列コレクション in Help Center and File Exchange

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!