Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11069

Re: Using Fit to interpolate data

From Kris Carlson <carlsonkw@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Using Fit to interpolate data
Date 2012-07-25 06:36 +0000
Message-ID <juo44r$18h$1@smc.vnet.net> (permalink)
References <jullkd$ptc$1@smc.vnet.net> <07143021-a390-4455-8f96-92ad7a2e4f4a@googlegroups.com>
Organization Time-Warner Telecom

Show all headers | View raw


On Tue, Jul 24, 2012 at 10:14 AM, jf.alcover <jf.alcover@gmail.com> wrote:

> Why not use FindFit and an Exp ?
>
> fbddFit = Exp[-a x + b] /. FindFit[ fiberDataDensitiesFeierabend, Exp[-a*x
> + b], {a, b}, x]
>

Aha. That is helpful. I had tried using a decay function with Fit and
couldn't get the syntax, but now I see it requires FindFit. Merci. The
power law seems to work better, tho.

In[277]:= fbddFit = Fit[fiberDataDensitiesFeierabend, {x^-13}, x]

Out[277]= 2.4929*10^12/x^13

I wish I had a larger mental library of functions to try, since for these
Mathematica functions you have to suggest a basic form. But maybe the power
law is ok in the range for which I need to interpolate and extrapolate. If
anyone knows any other Mathematica tools, please jump in.

Kris

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Using Fit to interpolate data Kris Carlson <carlsonkw@gmail.com> - 2012-07-24 08:16 +0000
  Re: Using Fit to interpolate data Kris Carlson <carlsonkw@gmail.com> - 2012-07-25 06:35 +0000
  Re: Using Fit to interpolate data Kris Carlson <carlsonkw@gmail.com> - 2012-07-25 06:36 +0000
  Re: Using Fit to interpolate data "Kevin J. McCann" <kjm@KevinMcCann.com> - 2012-07-25 06:37 +0000
  Re: Using Fit to interpolate data "Kevin J. McCann" <kjm@KevinMcCann.com> - 2012-07-25 06:35 +0000
  Re: Using Fit to interpolate data "Kevin J. McCann" <kjm@KevinMcCann.com> - 2012-07-26 07:36 +0000

csiph-web