Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5900
| From | Oliver Ruebenkoenig <ruebenko@wolfram.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Parameter Fitting in coupled differential equation |
| Date | 2011-10-26 21:50 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j89vbv$20b$1@smc.vnet.net> (permalink) |
| References | <201110251016.GAA05777@smc.vnet.net> |
On Tue, 25 Oct 2011, 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 > > -- Here is I how I'd go about it. You could use NDSolve for the equations, extract the grid from the interpolation function (with if["Grid"]) then interpolate your measurement and evaluate on the NDSolve grid. Minimize the norm (in some sense) of the difference between the two. Oliver
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Parameter Fitting in coupled differential equation Oliver Ruebenkoenig <ruebenko@wolfram.com> - 2011-10-26 21:50 +0000
csiph-web