How do I solve two ode (dct/dt and dR/dt) simultaneously with ODE45 and optimize two parameters using global optimization ?
3 views (last 30 days)
Show older comments
Answers (3)
Sulaymon Eshkabilov
on 5 Jun 2021
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
0 Comments
Star Strider
on 7 Jun 2021
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.
0 Comments
See Also
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!