MathGroup Archive 2003

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

Search the Archive

Re: Fit or Interpolate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39219] Re: Fit or Interpolate
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 4 Feb 2003 02:21:38 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <b1l24l$ib5$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

a interpolation gives for the data x[i], y[i] at every
point x[i] the original y[i], a fit must not do that.

Regards
  Jens

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: Simple Problem ??
  • Next by Date: RE: operate a matrix of derivations
  • Previous by thread: Fit or Interpolate
  • Next by thread: Re: Fit or Interpolate