|
|
|
|
|
|
|
|
Nonlinear Fitting, Looping and Recursion
|
|
|
|
|
|
Organization: | Variable Symbols, Inc. |
|
|
|
|
|
|
|
|
|
|
|
|
Nonlinear Fit; Looping and Recursion
|
|
|
|
|
|
The built-in function Fit finds a least-squares fit to a list of data as a linear combination of functions and variables specified by the user. Suppose we want to fit a function of the form 1/(a+bx(e^x)) to our data. Mathematica does not provide a nonlinear fit function to do this. But have no fear, you can write your own.
|
|
|
|
|
|
|
|
|
|
|
|
http://www.mathematica-journal.com/issue/v2i2/
|
|