How do I solve two ode (dct/dt and dR/dt) simultaneously with ODE45 and optimize two parameters using global optimization ?
Show older comments
Answers (3)
Sulaymon Eshkabilov
on 5 Jun 2021
0 votes
These are coupled ODEs. To solve these ODEs numerically:
(0) Specify all constant parameters
(1) Build fcn file or anonymous fcn handle
(2) Call and solve the fcn using one of these solvers: ode23, ode45, ode113
Alan Weiss
on 6 Jun 2021
0 votes
Alan Weiss
MATLAB mathematical toolbox documentation
Star Strider
on 7 Jun 2021
0 votes
See for one example: Parameter Estimation for a System of Differential Equations and How to properly model a kinetic reaction system from experimental data using lsqcurvefit? for another.
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!