converting from timeseries to double

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 日

8 投票

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 件のコメント

sattybol40
sattybol40 2018 年 3 月 2 日
It worked, Thank You.
Hakeem Kadir
Hakeem Kadir 2018 年 3 月 11 日
I came across this after going through a lot of google links.
it worked. Thanks Birdman
Emre Deniz
Emre Deniz 2018 年 8 月 16 日
This helped alot, easy fix, thanks alot Birdman
millaner kshetrimayum
millaner kshetrimayum 2019 年 11 月 5 日
thanks its work
Alisa Rudenko
Alisa Rudenko 2020 年 3 月 15 日
Thank you so much! Helped a lot
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 日

0 投票

Thanks a lot

カテゴリ

ヘルプ センター および File ExchangeTime Series Collections についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by