Difference between revisions of "FitPoly Command"
From GeoGebra Manual
m (Bot: Automated text replacement (-{{command +{{command|cas=true)) |
|||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | <noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | ||
− | {{command|statistics}} | + | {{command|cas=true|statistics}} |
;FitPoly[ <List of Points>, <Degree n of Polynomial> ] | ;FitPoly[ <List of Points>, <Degree n of Polynomial> ] | ||
:Calculates the regression polynomial of degree ''n''. | :Calculates the regression polynomial of degree ''n''. |
Revision as of 13:43, 10 September 2011
- FitPoly[ <List of Points>, <Degree n of Polynomial> ]
- Calculates the regression polynomial of degree n.
- Example:
FitPoly[{(-1, -1), (0, 1), (1, 1), (2, 5)}, 3]
gives x3 - x2 + 1.
Note:
See also FitExp Command, FitLog Command, FitPow Command and FitSin Command.
CAS Syntax
- FitPoly[ <List of Points>, <Degree n of Polynomial> ]
- Calculates the regression polynomial of degree n.