Fits a polynomial to data.
Parameters |
Description |
XValues |
Defines x values in p=p(x). |
YValues |
Defines polynomial, evaluated at x i.e p(x). |
Degree |
Defines polynomial degree. |
Coeff |
Returns the coeficients of fitted polynomial. |
R |
Returns the Cholesky factor of the Vandermonde matrix. |
DegFreedom |
Returns the degree of freedom. |
L2R |
Returns the L2 norm of the residuals. |
Weights |
If not nil, defines fitting weights. |
The PolyFit procedure uses the least-squares method to find the fitted polynomial coefficients.
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|