Re: Help fitting Exponential curves
- To: mathgroup at smc.vnet.net
- Subject: [mg28984] Re: [mg28969] Help fitting Exponential curves
- From: BobHanlon at aol.com
- Date: Thu, 24 May 2001 04:07:00 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Use the standard add-on package Statistics`NonlinearFit`
Bob Hanlon
In a message dated 2001/5/23 3:08:09 AM, tcs3a at virginia.edu writes:
>I am looking to fit some exponential curves to a form of
> P=Po*e^(-K*t) where K and Po are values I need. The P and t I have.
> I'm working with mathematica 4.1 and I can read the data and plot it fine
>
>but it doesn't want to give me reasonable fits.
> So I guess my question is how would you go about getting the Fitting to
>
>work on fitting a Pre-Exponential and an exponential variable. If I type
>
> PeakFit[x_] = Fit[Peak, Exp[-x], x]
>
>it only gives me a Pre-exponential, however if I type.
>
> PeakFit[x_] = Fit[Log[Peak], {-x,Log[x]}, x]
>
>It just doesn't like that. Could Someone Please point me in the right
>
>direction.
>