ode45 and switching differential equations
이전 댓글 표시
I have a system which is split into 2 phases, where there are different set of coupeled differential equations descriping each phase. The switch from phase 1 to 2 happens at a certain criteria. My question is how do I switch the set of differential equations ode45 solves when this critiria is met?
답변 (1개)
Torsten
2015년 12월 11일
0 개 추천
Use the "event" facility of the ODE solvers.
Best wishes
Torsten.
카테고리
도움말 센터 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!