converting from timeseries to double

42 Ansichten (letzte 30 Tage)
sattybol40
sattybol40 am 2 Mär. 2018
Kommentiert: sirouni yassine am 2 Jun. 2021
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;

Akzeptierte Antwort

Birdman
Birdman am 2 Mär. 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 Kommentare
muhammad imam sudrajat
muhammad imam sudrajat am 26 Mai 2020
Yup, solved my problem. Thanks
sirouni yassine
sirouni yassine am 2 Jun. 2021
Thinks

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Caglar Imer
Caglar Imer am 17 Sep. 2019
Thanks a lot

Kategorien

Mehr zu Time Series finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by