필터 지우기
필터 지우기

Ode option

조회 수: 4 (최근 30일)
Mitch Martelli
Mitch Martelli 2011년 11월 17일
Hi at all,
I would like to ask you if there is a way,using standard matlab ode function, to stop the calculation before the final time; more precisely when a specific condition is satisfied.
It is possible do it without rewrite for example the ode45?
Thanks
Mitch

채택된 답변

Jan
Jan 2011년 11월 17일
You can call ODE45 with an event function. See the docs for ODE45, e.g. http://www.mathworks.com/help/techdoc/ref/ode45.html and look for "event".
  댓글 수: 1
Mitch Martelli
Mitch Martelli 2011년 11월 25일
sorry for the delay... thanks jan...it work good...i resolve my problem..

댓글을 달려면 로그인하십시오.

추가 답변 (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