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
Star Strider 2016년 3월 8일
What do you know about the discontinuity?
Rakesh Chavan
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개)

카테고리

태그

질문:

YH
2016년 3월 8일

댓글:

2016년 3월 16일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by