Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5848 > unrolled thread

Parameter Fitting in coupled differential equation

Started by"Alexandre Santos Abreu" <alexandre.abreu@physik.uni-augsburg.de>
First post2011-10-25 10:17 +0000
Last post2011-10-26 21:37 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Parameter Fitting in coupled differential equation "Alexandre Santos Abreu" <alexandre.abreu@physik.uni-augsburg.de> - 2011-10-25 10:17 +0000
    Re: Parameter Fitting in coupled differential equation "Kevin J. McCann" <Kevin.McCann@umbc.edu> - 2011-10-26 21:37 +0000

#5848 — Parameter Fitting in coupled differential equation

From"Alexandre Santos Abreu" <alexandre.abreu@physik.uni-augsburg.de>
Date2011-10-25 10:17 +0000
SubjectParameter Fitting in coupled differential equation
Message-ID<j862c4$5mv$1@smc.vnet.net>
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

[toc] | [next] | [standalone]


#5891

From"Kevin J. McCann" <Kevin.McCann@umbc.edu>
Date2011-10-26 21:37 +0000
Message-ID<j89uht$t8c$1@smc.vnet.net>
In reply to#5848
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
>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web