Fitting Nonlinear Functions to Data

genfit(vx,vy,vg,F) Returns a vector containing the parameters that make a function f of x and n parameters u1...un best approximate the data in vx and vy. The genfit function employs an optimized version of the Levenberg-Marquardt method for minimization by default. While frequently faster and less sensitive to poor guess values, this implementation may fail to converge well on problems with many local minima, such as rational functions. It is also more sensitive to incorrect derivative vectors. The optimized method allows you to solve using numerical approximations for the parameter derivatives. To change methods, right-click on the genfit function and select the desired method from the menu.

Arguments:


are both valid representations for a fitting function.

Notes:

QuickSheet

Related Topics