trig_interp, an Octave code which evaluates the trigonometric interpolant to a set of evenly spaced data.
Given data at 2N+1 equally spaced points x(i), which we may assume are samples of a function f(x), the trigonometric interpolant has the form
q(x) = a0 + sum ( 1 <= i <= N) a(i) cos(i*x) + sum ( 1 <= i <= N) b(i) sin(i*x)
The computer code and data files described and made available on this web page are distributed under the MIT license
trig_interp is available in a MATLAB version and an Octave version.
divdif, an Octave code which uses divided differences to interpolate data.
hermite_interpolant, an Octave code which computes the Hermite interpolant, a polynomial that matches function values and derivatives.
interp, an Octave code which can be used for parameterizing and interpolating data;
lagrange_interp_1d, an Octave 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, an Octave code which defines and evaluates radial basis function (RBF) interpolants to 1D data.
shepard_interp_1d, an Octave code which defines and evaluates Shepard interpolants to 1D data, which are based on inverse distance weighting.
spline, an Octave code which computes functions that approximate or interpolate data.
test_approx, an Octave code which defines a number of test problems for approximation and interpolation.
test_interp, an Octave code which defines a number of test problems for interpolation, provided as a set of (x,y) data.
test_interp_1d, an Octave code which defines test problems for interpolation of data y(x), depending on a 1D argument.
trig_interp_basis, an Octave code which evaluates the cardinal basis functions for trigonometric interpolation of equally spaced data.
vandermonde_interp_1d, an Octave code which finds a polynomial interpolant to data by setting up and solving a linear system involving the Vandermonde matrix.