Re: Fitting using a custom function
- To: mathgroup at smc.vnet.net
- Subject: [mg97709] Re: Fitting using a custom function
- From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
- Date: Thu, 19 Mar 2009 02:11:58 -0500 (EST)
- References: <gpqgdf$5u2$1@smc.vnet.net>
On which version of Mathematica are you working. If you're on 6 or 7 did you read at least this documentation: http://reference.wolfram.com/mathematica/tutorial/CurveFitting.html. Which part of it you didn't understand? Cheers -- Sjoerd On Mar 18, 11:54 am, titos99 <riccardo.tedi... at mac.com> wrote: > My problem is pretty simple: > > I have a data file with experimental data that I would like two fit (x and y values). > In order to calculate the theoretical function I only can use a Finite difference method and iterate the calculus as a function of time. At the end of the calculation I get a list with theoretical x and y values. Now, since the calculation is made by using some parameters, I would like Mathematica to find the best set of fitting parameter that fit the experimental data. > Anybody knows how to do this kind of thing!? > The loop that I use for the calculation is itself a Module but I don't know if I can use this together with the Fit function... > > Any idea??? > > Many thanks. -R