Help while using ode45

조회 수: 7 (최근 30일)
Jack Breenlair
Jack Breenlair 2015년 10월 16일
답변: Torsten 2015년 10월 16일
I am currently trying to solve an ode, and I want to check in each step of the integration if any of the points that i just got as a result of the ode function has crossed a region how do i do that? for instance [1 3] in x and 0 in y, or y<0. In each step of the integration all the points are saved into an array.

채택된 답변

Torsten
Torsten 2015년 10월 16일
The ballode example should be helpful for your purpose:
Best wishes
Torsten.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by