lagrange_interp_2d_test


lagrange_interp_2d_test, a MATLAB code which calls lagrange_interp_2d(), which defines and evaluates the Lagrange polynomial p(x,y) which interpolates a set of data depending on a 2D argument that was evaluated on a product grid, so that p(x(i),y(j)) = z(i,j).

Licensing:

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

Related Data and Programs:

lagrange_interp_2d, a MATLAB code which defines and evaluates the Lagrange polynomial p(x,y) which interpolates a set of data depending on a 2D argument that was evaluated on a product grid, so that p(x(i),y(j)) = z(i,j).

Source Code:

lagrange_interp_2d_test02() plots a piecewise linear interpolant to the original data, and the Lagrange interpolant.


Last modified on 06 February 2019.