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

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

 Akzeptierte Antwort

Kenta
Kenta am 26 Aug. 2020

0 Stimmen

data1=Teva.Data;
data1(end)
こんにちは、上のようにすればよいです。
また、変数の扱いが難しくうまくいかないときは、インターネットで調べると大体ヒットします。
例えば、timeseries data matlab と打つと
以下のようなtimeseries変数のデータの扱いが一番上に出てきました
参考になれば幸いです。

1 Kommentar

Yuma Yamazaki
Yuma Yamazaki am 26 Aug. 2020
早速のご回答、感謝申し上げます。
問題も解決いたしましたし、大変参考になりました。
有難うございました。

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2016a

Community Treasure Hunt

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

Start Hunting!