Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Best fit surface

  • To: mathgroup at smc.vnet.net
  • Subject: [mg26345] Best fit surface
  • From: "John Lai" <john.lai at worldnet.att.net>
  • Date: Tue, 12 Dec 2000 02:54:55 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello all,
If I have a set of points (xi,yi} where i=1 to n
and I want to find a best fit curve (say mth order polynomial) that
describes these data points, I could use the following commands.
data = {{x1,y1},{x2,y2},...,{xn,yn}}
Fit[data,{1,x,x^2,...,x^m},s]]

Now I have a set of 3D points {xi,yi,zi} and I want to plot the surface
describe by these points and to find the equation that describe this
surface.  Is there a similar way to do what I have described above for 2D?

Thanks in advance,
John Lai



  • Prev by Date: How can I display the total time ?
  • Next by Date: NDSolve Interpolating Function Range too small!
  • Previous by thread: Re: How can I display the total time ?
  • Next by thread: Best fit surface