ODE solver with Heavaside function
조회 수: 5 (최근 30일)
이전 댓글 표시
Is there any ODE solver that solves a system of ODES some of them contain Heaviside functions. If so, please send me a matlab file if possible or any documents that could help me. DFIELD6 only could solve one Equation.
댓글 수: 0
답변 (1개)
Arthur Goldsipe
2012년 11월 8일
Hi,
You need to take special care when your system of ODEs contains a step change, like a Heaviside function. These can be handled with MATLAB's ode solvers (like ode45), but you should use "events" to restart the ODE solver after a step change. Take a look at the bouncing ball example file ballode.m, or see this documentation page: href = "http://www.mathworks.com/help/matlab/math/ordinary-differential-equations.html#f1-6696>8">http://www.mathworks.com/help/matlab/math/ordinary-differential-equations.html#f1-6696>8</a
-Arthur
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!