Re: Exponential fit question.
- To: mathgroup at smc.vnet.net
- Subject: [mg28024] Re: [mg27986] Exponential fit question.
- From: jmt <jmt at agat.net>
- Date: Wed, 28 Mar 2001 02:40:56 -0500 (EST)
- References: <200103270626.BAA21789@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Try this :
tologs := {#[[1]], N@Log[#[[2]]]} &
datalogs = tologs /@ data
myFit = Exp[Fit[datalogs, {1, x}, x]]
On Tuesday 27 March 2001 08:26, joe wrote:
> hello.
>
> I was wondering if someone could help me with the following problem.
>
> I am trying to perform an exponential fit to the following data
> {{x,y}}
>
> data
> ={{50,22},{64,62},{78,122},{93,269},{107,414},{122,507},{136,597}}
>
> Fit[data,Exp[x],x]
>
> what I get is
>
> 1.94272422061017735^-63 *E^x Which is not correct.
>
> With Excel I get 7.5*E^0.0034x which is correct.
>
> How can I do this with Mathematica ?
>
> Thanks.
> -Joseph.
- References:
- Exponential fit question.
- From: joe <joe@wam.umd.edu>
- Exponential fit question.