converting from timeseries to double

40 ビュー (過去 30 日間)
sattybol40
sattybol40 2018 年 3 月 2 日
コメント済み: sirouni yassine 2021 年 6 月 2 日
for j=1:Nf
omega1=omega(j);
sim('csm');
DF = (DFreal+sqrt(-1)*DFimag);
s(j,:)=DF;
array(1,1,j,:)=DF;
end
: Conversion to double from timeseries is not possible. Error in rel (line 10) s(j,:)=DF;

採用された回答

Birdman
Birdman 2018 年 3 月 2 日
I assume you are saving data from your simulation by using To Workspace block. I suggest you to change your Save format to Array so that you will obtain your data in numeric type.
  7 件のコメント
muhammad imam sudrajat
muhammad imam sudrajat 2020 年 5 月 26 日
Yup, solved my problem. Thanks
sirouni yassine
sirouni yassine 2021 年 6 月 2 日
Thinks

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

その他の回答 (1 件)

Caglar Imer
Caglar Imer 2019 年 9 月 17 日
Thanks a lot

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by