ODE output restriction option

1 次查看(过去 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