MathGroup Archive 2005

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

Search the Archive

Re: Nonlinear Curve Fitting


nilaakash wrote:
> Dear Friends,
>               I have tried to fit a nonlinear curve, but failed. I am
> giving my points and it's curve equation is
>
>     \!\(y = a \((1 - x\/c)\)\^b\)
>
> Here a, b, c are fit parameters. My initial guess is like
>    a =   0.3
>    b =   0.2
>    c = 385.2
>
> data={{...}}

r = FindFit[data, a(1-x/c)^b, {{a,.3},{b,.2},{c,385.2}}, x]

{a->0.318854,b->0.204693,c->384.614}

Plot[Evaluate[a(1-x/c)^b/.r],{x,326,382},Prolog->Point/@data];
Looks good to me.


  • Prev by Date: Re: Superellisoid
  • Next by Date: Re: A question about pattern
  • Previous by thread: Re: Nonlinear Curve Fitting
  • Next by thread: Re: Nonlinear Curve Fitting