Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*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 2003

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

Search the Archive

Re: Re: Fit or Interpolate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39237] Re: [mg39219] Re: Fit or Interpolate
  • From: Ian Brooks <ianbrooks at earthlink.net>
  • Date: Wed, 5 Feb 2003 00:11:09 -0500 (EST)
  • References: <b1l24l$ib5$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

There is a explanation of the difference between Interpolate, Fit and 
NonlinearFit, along with a discussion of when to use each in the online 
Mathematica library.

http://library.wolfram.com/examples/curvefit/

Ian


>David Seruyange wrote:
> >
> > Hello all,
> >
> > Another in a series of potentially simple questions:
> >
> > What is the difference between using Fit and Interpolation?
> > f[x_]=Fit[data, {1,x},x]
> > -or-
> > f[x_]=Interpolation[data][x]
> >
> > I do know that Fit can take arguments for the independant variables
> > form like:
> > f[x_]=Fit[data, {1,x},x]
> > f[x_]=Fit[data, {1,x,x^2},x]
> > but that's a bit of guesswork if you have a limited set of points, no?
> >
> > Also, is there a function in Mathematica that allows me to swap
> > dependent and independent variables? e.g. x=2.5y --> y=x/2.5
> >
> > Thanks much,
> >
> > David Seruyange
> > Student



  • Prev by Date: Formatted output
  • Next by Date: Re: Aligned GraphicsArray
  • Previous by thread: Re: Re: Fit or Interpolate
  • Next by thread: Package creation