interp - Maple Help

Online Help

All Products    Maple    MapleSim


interp

polynomial interpolation

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

interp(x, y, v)

Parameters

x

-

list or vector of independent values, x[1], ..., x[n+1]

y

-

list or vector of dependent values, y[1], ..., y[n+1]

v

-

variable to be used in polynomial

Description

• 

Important: The interp function has been deprecated. Use the superseding command CurveFitting[PolynomialInterpolation] instead. A call to interp automatically generates a call to CurveFitting[PolynomialInterpolation].

• 

The interp function computes the polynomial of degree less than or equal to n in the variable v which interpolates the points x1,y1, x2,y2, ..., xn+1,yn+1.

• 

If the same x-value is entered twice, it is an error, whether or not the same y-value is entered; all independent values must be distinct.

Examples

Important: The interp function has been deprecated. Use the superseding command CurveFitting[PolynomialInterpolation] instead.

interp0,1,2,3,0,3,1,3,z

32z37z2+172z

(1)

See Also

CurveFitting

CurveFitting[PolynomialInterpolation]

Interp