Borrar filtros
Borrar filtros

ODEs with discontinuous equation in ODE solvers

7 visualizaciones (últimos 30 días)
Linford Briant
Linford Briant el 30 de Mayo de 2013
Hi Mathworks,
I have a differential equation with a dependent variable X. The differential equation has the property that the time-derivative of X is constant if X is above some threshold C, and exponential if X is below some threshold C. Namely:
dX/dt = X when X<C
dX/dt = C when X>C
Is there a way I can code this condition up in one of the ODE solvers, like ode23?
Thanks!
Linford

Respuestas (0)

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by