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

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 个评论

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.
sorry!! i didnt get a notification that you replied.will see that now..will remove this asap..

请先登录,再进行评论。

回答(1 个)

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].

类别

帮助中心File Exchange 中查找有关 Optimization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by