Error using odearguments (line 93) must return a column vector

조회 수: 18 (최근 30일)
Stephanie Rupert Jackson
Stephanie Rupert Jackson 2020년 11월 28일
댓글: Image Analyst 2020년 11월 28일
Why does it have to return a column vector?
How can I fix this?

답변 (1개)

Stephan
Stephan 2020년 11월 28일
편집: Stephan 2020년 11월 28일
Add this line in your ode function at the last line:
NameOfYourOutputVariable = NameOfYourOutputVariable(:);
This should fix the error.

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by