MathGroup Archive 2004

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

Search the Archive

Re: How to fit like-elliptical funcion?


Andriy Krasowsky wrote:

> Hallo everybody,

> does anyone knows how to fit an equation like

> (x/P1)**a + (y/P2)**b = 1

> on data which are in the first quadrant? P1, P2, a, b are to fit.

> Thanks a lot in advance

> Andriy

--
Example :

<<Statistics`NonlinearFit`

 data={{10.,0.1,1.},{9.5,1.5,1.},{9.,3.,1.},
{7.,3.5,1.},{6.,3.75,1.},{5.,4.,1.},{0.1,4.,1.}};

NonlinearFit[data,(x/P1)^a+(y/P2)^b,{x,y},{a,b,P1,P2}]

0.00124842*x^2.916375 + 0.00559693*y^3.700292

hth

v.a.
--
0% de pub! Que du bonheur et des vrais adhérents !
Vous aussi inscrivez-vous sans plus tarder!!
Message posté à partir de http://www.gyptis.org, BBS actif depuis 1995.




  • Prev by Date: 1) Global Real Space and 2) Histogram Y-axis
  • Next by Date: Re: Re: can't MATHEMATICA simplify simple expressions?
  • Previous by thread: How to fit like-elliptical funcion?
  • Next by thread: Re: How to fit like-elliptical funcion?