Time series object の変換
31 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Shohei Kanemitsu
le 16 Mar 2021
Réponse apportée : Naoya
le 18 Mar 2021
etfe関数を使用したいのですが、引数がtime series objectにより実行できないようです。
time series objectを配列へ変換することはできますか?
0 commentaires
Réponse acceptée
Naoya
le 18 Mar 2021
timeseries には、 Time, Data に相当するプロパティがありますので
それぞれ次のコマンドで、 時間ベクトル、データベクトルとして得ることができます。
% timeseriesオブジェクト例の定義
ts3 = timeseries( sin(0:0.1:10)', [0:0.1:10]');
% 時間ベクトルを取得
t = ts3.Time;
% データベクトルの取得
data = ts3.Data;
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 時系列コレクション dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!