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
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 个评论

It worked, Thank You.
I came across this after going through a lot of google links.
it worked. Thanks Birdman
This helped alot, easy fix, thanks alot Birdman
Thank you so much! Helped a lot
Yup, solved my problem. Thanks

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by