ode23, too slow
古いコメントを表示
It takes a long time to solve the code. Is it because the code is reading data from a.dat file? How can I make it go faster? It slows down even more as time increases and the time step gets smaller.
2 件のコメント
Walter Roberson
2022 年 6 月 3 日
https://www.mathworks.com/help/matlab/math/parameterizing-functions.html
Walter Roberson
2022 年 6 月 3 日
I also suspect that you have a stiff system and should try ode23s
採用された回答
その他の回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!