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 Center および File ExchangeOrdinary Differential Equations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by