2.4.20 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

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

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