converting from timeseries to double

44 vues (au cours des 30 derniers jours)
sattybol40
sattybol40 le 2 Mar 2018
Commenté : sirouni yassine le 2 Juin 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;

Réponse acceptée

Birdman
Birdman le 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 commentaires
muhammad imam sudrajat
muhammad imam sudrajat le 26 Mai 2020
Yup, solved my problem. Thanks
sirouni yassine
sirouni yassine le 2 Juin 2021
Thinks

Connectez-vous pour commenter.

Plus de réponses (1)

Caglar Imer
Caglar Imer le 17 Sep 2019
Thanks a lot

Catégories

En savoir plus sur Time Series dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by