MATLAB Answers

Time-dependent parameter in ode solver

2 views (last 30 days)
Uerm on 26 Feb 2019
Answered: Steven Lord on 26 Feb 2019
How can I implement a time-dependent parameter which is to be incorporated in the ode solver? The parameter is part of an equation which in turn is a part of a differential equation.

Answers (1)

Steven Lord
Steven Lord on 26 Feb 2019
See the "ODE with Time-Dependent Terms" example on the documentation page for ode45 for one technique.

Community Treasure Hunt

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

Start Hunting!