interp


interp, a MATLAB code which takes a set of data associated with successive values of a parameter, and produces an interpolating function which can be evaluated over a continuous range of the parameter.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

interp is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

divdif, a MATLAB code which uses divided differences to interpolate data.

hermite_interpolant, a MATLAB code which computes the hermite interpolant, a polynomial that matches function values and derivatives.

interp, a MATLAB code which can be used for parameterizing and interpolating data;

interp_test

lagrange_interp_1d, a MATLAB code which defines and evaluates the lagrange polynomial p(x) which interpolates a set of data, so that p(x(i)) = y(i).

rbf_interp_1d, a MATLAB code which defines and evaluates radial basis function (rbf) interpolants to 1d data.

shepard_interp_1d, a MATLAB code which defines and evaluates shepard interpolants to 1d data, which are based on inverse distance weighting.

spline, a MATLAB code which computes functions that approximate or interpolate data.

test_approx, a MATLAB code which defines a number of test problems for approximation and interpolation.

test_interp, a MATLAB code which defines a number of test problems for interpolation, provided as a set of (x,y) data.

test_interp_1d, a MATLAB code which defines test problems for interpolation of data y(x), depending on a 1d argument.

vandermonde_interp_1d, a MATLAB code which finds a polynomial interpolant to data by setting up and solving a linear system involving the vandermonde matrix.

Reference:

  1. Samuel Conte, Carl deBoor,
    Elementary Numerical Analysis,
    Second Edition,
    McGraw Hill, 1972,
    ISBN: 07-012446-4,
    LC: QA297.C65.

Source Code:


Last revised on 02 February 2019.