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

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

 Respuesta aceptada

Kenta
Kenta el 26 de Ag. de 2020

0 votos

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

1 comentario

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 時系列コレクション en Centro de ayuda y File Exchange.

Productos

Versión

R2016a

Preguntada:

el 26 de Ag. de 2020

Comentada:

el 26 de Ag. de 2020

Community Treasure Hunt

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

Start Hunting!