Re: A question of Fit

*To*: mathgroup at smc.vnet.net*Subject*: [mg32208] Re: A question of Fit*From*: "John Doty" <jpd at w-d.org>*Date*: Sat, 5 Jan 2002 00:11:08 -0500 (EST)*References*: <a13v0b$dfo$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

In article <a13v0b$dfo$1 at smc.vnet.net>, "none" <none at none.com> wrote: > I'd like to fit data of two independent variables, similar to the > typical > > Fit[data, {1, x, y, TBD}, {x, y}] > > (data of the form {{x1, y1, z1}, {x2, y2, z2}, ..., {xn, yn, > ) > > I have enough knowledge of the data to state that > > z [x, 0] = = x > > Is there a way to force a fitted function to pass through the known > points at y = = 0? Subtract x from z to make a new function w. Now w[x,0]==0. Choose as your fit functions suitable functions equal to zero when y==0, like y, y^2, x*y, Cos[x]*Sin[y], etc. -- | John Doty "You can't confuse me, that's my job." | Home: jpd at w-d.org | Work: jpd at space.mit.edu