[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] polynomial fitting using nonlinear least-squares fitting

From: Lucas Grijander
Subject: [Help-gsl] polynomial fitting using nonlinear least-squares fitting
Date: Tue, 05 Dec 2006 18:24:24 +0100

Hi all!

I have to model some 3D data by using multidimensional polynomials. I'm trying to use the nonlinear least-squares fitting functions from GSL. I'm not sure if it is the best option, but I'm having problemes of convergence. The polynomial function should be like this:

Z = f(X,Y)
Z = c0 + c1X + c2Y + c3X2 + c4Y2 + .....

How should I define the function to minimize in the code? the order of the polynomial is defined by the user, and it can be different for X and Y.

thanks for your help!


Sentez vous chez vous sur la page d'accueil MSN en personnalisant le contenu!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]