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;

 Respuesta aceptada

Birdman
Birdman el 2 de Mzo. de 2018

8 votos

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 comentarios

sattybol40
sattybol40 el 2 de Mzo. de 2018
It worked, Thank You.
Hakeem Kadir
Hakeem Kadir el 11 de Mzo. de 2018
I came across this after going through a lot of google links.
it worked. Thanks Birdman
Emre Deniz
Emre Deniz el 16 de Ag. de 2018
This helped alot, easy fix, thanks alot Birdman
millaner kshetrimayum
millaner kshetrimayum el 5 de Nov. de 2019
thanks its work
Alisa Rudenko
Alisa Rudenko el 15 de Mzo. de 2020
Thank you so much! Helped a lot
muhammad imam sudrajat
muhammad imam sudrajat el 26 de Mayo de 2020
Yup, solved my problem. Thanks
sirouni yassine
sirouni yassine el 2 de Jun. de 2021
Thinks

Iniciar sesión para comentar.

Más respuestas (1)

Categorías

Etiquetas

Preguntada:

el 2 de Mzo. de 2018

Comentada:

el 2 de Jun. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by