converting from timeseries to double

42 visualizzazioni (ultimi 30 giorni)
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;

Risposta accettata

Birdman
Birdman il 2 Mar 2018
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 Commenti
muhammad imam sudrajat
muhammad imam sudrajat il 26 Mag 2020
Yup, solved my problem. Thanks

Accedi per commentare.

Più risposte (1)

Caglar Imer
Caglar Imer il 17 Set 2019
Thanks a lot

Categorie

Scopri di più su Time Series in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by