Re: Fitting data
- To: mathgroup at smc.vnet.net
- Subject: [mg29580] Re: Fitting data
- From: Albert Retey <albert.retey at visualanalysis.com>
- Date: Wed, 27 Jun 2001 05:12:16 -0400 (EDT)
- Organization: Visual Analysis AG
- References: <9h401r$4a6$1@smc.vnet.net> <9h8m2v$qsi$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Richard wrote: > > An normal distibution wasn't a good example. > > What if I collected data from an experiment that I modeled by (for example): > > u(t)= a1 * sin(a2*t) + a3*exp(a4^3). > > How can I find a1, a2, a3 and a4 so that my function fits the data as good > as possible? > Try NonlinearFit, it's somewhere in the Standard Packages. For me this worked pretty welll, but better read the manueal for details. For very difficult fitting problems you might need some better Optimization Packages/Routines though...