필터 지우기
필터 지우기

ODEs with discontinuous equation in ODE solvers

조회 수: 7 (최근 30일)
Linford Briant
Linford Briant 2013년 5월 30일
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

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