ode45 discontinuity in resulting function
Mostra commenti meno recenti
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 Commenti
Star Strider
il 8 Mar 2016
What do you know about the discontinuity?
Rakesh Chavan
il 16 Mar 2016
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
Risposte (0)
Categorie
Scopri di più su Ordinary Differential Equations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!