converting from timeseries to double

조회 수: 40 (최근 30일)
sattybol40
sattybol40 2018년 3월 2일
댓글: sirouni yassine 2021년 6월 2일
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
muhammad imam sudrajat
muhammad imam sudrajat 2020년 5월 26일
Yup, solved my problem. Thanks
sirouni yassine
sirouni yassine 2021년 6월 2일
Thinks

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Caglar Imer
Caglar Imer 2019년 9월 17일
Thanks a lot

카테고리

Help CenterFile Exchange에서 Time Series에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by