ode45 discontinuity in resulting function
古いコメントを表示
I have a set of nonlinear ODE's in which there is a removable discontinuity in the resulting function. ODE45 if not capable of integrating through this discontinuity and it will not remove it. I modeled the system in Simulink, but I want the capability of doing it with ODE45 or similar.
I thought about using event locator, but I don't know what event I'm looking for. Additionally, the ODE's won't change, so I don't even know what I would do if I found the discontinuities.
2 件のコメント
Star Strider
2016 年 3 月 8 日
What do you know about the discontinuity?
Rakesh Chavan
2016 年 3 月 16 日
Hi,
Are you modeling a physical system? If that is the case mostly the would obtain a stiff set of differential equations. In this case it might be better to use some of the stiff solvers like ode15s.
If you DAE then using ode23t might help.
Some of the guidelines can be found at the link given below: http://www.mathworks.com/help/simulink/ug/use-auto-solver-to-select-a-solver.html
Hope this helps
regards
Rakesh
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!