Optimizing parameters for the solution to a system of differential equations

I would like to optimize the parameters a(1) and a(2), but my experimental data is for my y(2) function only.
.m:
function dy = runadj(a,t,y)
dy(1) = -a(1)*y(1)*y(2);
dy(2) = a(1)*y(1)*y(2)-a(2)*y(2);
dy(3) = a(2)*y(2);
Is there a way to optimize these parameters only using experimental data for one equation?

1 Comment

Of course. Take the simulated values from equation 2 and compare with your experimental values by minimizing the sum of squared differences.
Best wishes
Torsten.

Sign in to comment.

Answers (0)

Categories

Find more on Simulink Design Optimization in Help Center and File Exchange

Asked:

Rae
on 5 Dec 2017

Commented:

on 6 Dec 2017

Community Treasure Hunt

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

Start Hunting!