Tspan is not strictly increasing.
4 ビュー (過去 30 日間)
古いコメントを表示
I am trying to solve a second order ode using ODE45 but my tspan is not strictly increasing. How can I solve it ?
0 件のコメント
採用された回答
Stephan
2019 年 11 月 27 日
Since ode45 uses an automated stepwide control just define the start and the end of your tspan this way:
tspan = [0 10];
This is all you have to do to solve this problem.
3 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!