Polynomial('Coefs','X','PolynomialType'=0)
Arguments
|
'Coefs' |
Vector with coefficients, e.g. as result of LSQPolyCoef |
|
'X' |
X-coordinates (sampling points) at which to evaluate the polynomial |
|
'PolynomialType' |
Defines the base polynomials to use; 0 = Lagrange (default), 1 = Chebyshev I, 2 = Chebyshev II, 3 = Legendre |
Description
This function calculates the polynomial value for every sample of 'X' on the basis of a coefficient vector 'Coefs'. The function is required to display regression lines or compensation curves whose coefficients were calculated with the LSQPolyCoef function prior to this.
With the optional parameter 'PolynomialType', you can use different base polynomials. The function supports the types Lagrange (default), Chebyshev I, Chebyshev II and Legendre.