interp(x, y, v)
list or vector of independent values, x, ..., x[n+1]
list or vector of dependent values, y, ..., y[n+1]
variable to be used in polynomial
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.
Important: The interp function has been deprecated. Use the superseding command CurveFitting[PolynomialInterpolation] instead.
Download Help Document
What kind of issue would you like to report? (Optional)