How do we solve multiple ODEs to fit empirical observations by optimizing multiple constants?
Show older comments
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 Comments
Teja Muppirala
on 21 Aug 2012
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.
Nitin Samuel
on 21 Aug 2012
Edited: Nitin Samuel
on 21 Aug 2012
Answers (1)
Elizabeth
on 21 Aug 2012
0 votes
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].
Categories
Find more on Optimization 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!