2.4.19 nlfit

Brief Information

Perform iterations for the current fit session

Additional Information

X-Function not designed for Auto GetN Dialog.

Command Line Usage

nlfit 0; // update fit cuves and recalculate chisqr

nlfit 1; // do only one iteration

nlfit; // fit until converge

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Number of Iterations n

Input

int

-1
User can give the times of iteration. 0 denote recalculating chisqr.
Iteration Method method

Input

int

lm
The method used in iteration

Option list:

  • lm:LM
Levenberg-Marquardt method
  • s:Simplex
Use Simplex approximation

Description

Iterates the fitting function in use. User can decide the times and method of iteration.

Example

Here is a example of nonlinear fit. See this.

Related X-Functions


Keywords:regression, NLFit