ODE output restriction option

조회 수: 17 (최근 30일)
Taleb Bou Hamdan
Taleb Bou Hamdan 2019년 2월 27일
댓글: Torsten 2019년 2월 27일
I am trying to put a restriction on s1dot of the output of a fucntion in ODE45. Any help how to model the restriction?
I want the function to stop for example on s1dot = 1 and use s1dot=1 for the rest of the time interval after that
  댓글 수: 1
Torsten
Torsten 2019년 2월 27일
Use the "Event" option of the ODE solvers:
https://de.mathworks.com/help/matlab/math/ode-event-location.html

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by