Mathematica 9 is now available

NonlinearFit

NonlinearFit[data, model, vars, params] searches for a least-squares fit to a list of data according to the model containing the variables vars and the parameters params.

• Parameters may be expressed as a list of symbols or a list of lists. When expressed as a list, a parameter may be specified with starting value(s) and bounds in one of several different ways: {symbol, start} or {symbol, min, max} or {symbol, start, min, max}, where start can be single value or a list of two values.
• The data can have the form {{x1, y1,..., f1}, {x2, y2,..., f2},...}, where the number of coordinates x, y, ... is equal to the number of variables in the list vars. The data can also be of the form {f1, f2, ...}, with a single coordinate assumed to take values 1, 2, ....

Examples

Using InstantCalculators

Here is the InstantCalculator for the NonlinearFit function. Enter the parameters for your calculation and click Calculate to see the result.

This InstantCalculator enables you to fit a Gaussian function to your data. Enter the parameters and click Calculate to see the result.

Entering Commands Directly

You can paste a template for this command via the Text Input button on the NonlinearFit Function Controller.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.