Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5891
| From | "Kevin J. McCann" <Kevin.McCann@umbc.edu> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Parameter Fitting in coupled differential equation |
| Date | 2011-10-26 21:37 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j89uht$t8c$1@smc.vnet.net> (permalink) |
| 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 >
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
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
csiph-web