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!