Re: Parameter Fitting in coupled differential equation
- To: mathgroup at smc.vnet.net
- Subject: [mg122340] Re: Parameter Fitting in coupled differential equation
- From: "Kevin J. McCann" <Kevin.McCann at umbc.edu>
- Date: Wed, 26 Oct 2011 17:36:15 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <j862c4$5mv$1@smc.vnet.net>
Alex, I have an old notebook that I adapted from a Wolfram Tech Note several years ago. Basically you need to write a function that is given parameter choices as input and then outputs the LSQ difference between the DE solution and the data. Then just use FindMinimum. With 5 parameters, it could get tricky, since there may be multiple local minima. I can send you the nb if you are interested. Kevin On 10/25/2011 6:17 AM, Alexandre Santos Abreu wrote: > Hello! > > I have two coupled differential equations: > > dx/dt = -(f2+r1) x + r2 y + f1 c0 > dy/dt = f2 cM x - f2 x y - r2 y > > As you can see I have five different parameters f1, f2, r1, r2, cM > I also have two sets of measurements (x[t], y[t]) > > Is it possible to let Mathematica search for the parameter set which > produces the best fit to the measured values? > > Thanks! > > Alex >