Re: How I can fit data with a parametric equation?

*To*: mathgroup at smc.vnet.net*Subject*: [mg91848] Re: How I can fit data with a parametric equation?*From*: Luca Petrone <luke-sky-walker at hotmail.it>*Date*: Wed, 10 Sep 2008 05:08:17 -0400 (EDT)

> Hello everybody, > I have a list of {x,y} data and from a theoretical > calculation I know > that the data should be fitted by an equation, for > example: > > y=ax+bx+c; where a, b, c are constant parameters. > > The question is how i can find the best fit for my > data finding the > value of this parameters. > > Do mathematica has a specific function for that? > Thanks a lot. > Dino > Given A your collection of {x,y} data, just : FindFit[A, a x + b, {a, b}, x] (careful, y = ax + bx + c should just be y = (a + b)x + c = dx + c !) Luca P.