How do we solve multiple ODEs to fit empirical observations by optimizing multiple constants?

1 次查看(过去 30 天)
I have 3 ODEs and 2 parameters to be optimized to fit the ODE's to given data..
eg dA/dt = -(K1+K2)*A;
dB/dt = K1*A;
dC/dt = K2*A
where t= time and K1,K2 are constants
I have been given A,B and C vs time data..I must manipulate K1 and K2 to match the data. How do I go about doing this using optimization toolbox? Please suggest a sample code if possible..
  2 个评论
Teja Muppirala
Teja Muppirala 2012-8-21
Hi Nitin, I provided an answer on the original question that you posted a while back.
If you don't feel like you've gotten a good answer when you previously asked a question, it is generally a better idea to go back and ask for more clarification, or provide more information, instead of starting a new post with the same question again. That way, all the information and previous conversation regarding your problem will stay on one page.

请先登录,再进行评论。

回答(1 个)

Elizabeth
Elizabeth 2012-8-21
Set each ODE equal to zero on the RHS and minimize the difference between the two terms on the LHS for each of your ODEs to be optimized [subject to your constraints].

类别

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