Filter löschen
Filter löschen

ODE output restriction option

1 Ansicht (letzte 30 Tage)
Taleb Bou Hamdan
Taleb Bou Hamdan am 27 Feb. 2019
Kommentiert: Torsten am 27 Feb. 2019
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 Kommentar
Torsten
Torsten am 27 Feb. 2019
Use the "Event" option of the ODE solvers:
https://de.mathworks.com/help/matlab/math/ode-event-location.html

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by