Notebook Archive
polyFit[] for Mathematica 5.2
Alessandro Torre
Author
Alessandro Torre
Title
polyFit[] for Mathematica 5.2
Description
polyFit[n, {xdata, errX}, {ydata, errY}, #, opts] finds the polynomial expression of the form y = a + b x + c x^2 + ... that fit best with 'xdata' and 'ydata' (it's a least-squares fit) 'n' is the degree of the polynomial, 'errX' and 'errY' are the errors of 'xdata' and 'ydata' (they're optional) '#' is the output format (graphical or numerical) The chief advantages in confront of Fit[] are : - the graphical output - error of the parameters - chi-square test and linear-correlation coefficient - error propagation The function includes a complete and well tested management of input error and own messages. All the details displayed by ?polyFit (after evaluating the function)
Category
Working Material
Keywords
URL
http://www.notebookarchive.org/2018-10-10qt33b/
DOI
https://notebookarchive.org/2018-10-10qt33b
Date Added
Date Last Modified
2018-10-02
File Size
6.3 kilobytes
Supplements
Rights
Redistribution rights reserved
Cite this as: Alessandro Torre, "polyFit[] for Mathematica 5.2" from the Notebook Archive (2007), https://notebookarchive.org/2018-10-10qt33b
Download