**vandermonde_approx_1d_test**,
a MATLAB program which
calls vandermonde_approx_1d() to find a polynomial approximant to 1D data by setting up and
solving an overdetermined linear system involving the Vandermonde matrix.

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

vandermonde_approx_1d, a MATLAB library which finds a polynomial approximant to data of a 1D argument by setting up and solving an overdetermined linear system for the polynomial coefficients, involving the vandermonde matrix.

- vandermonde_approx_1d_test.m, calls all the tests;
- vandermonde_approx_1d_test.sh, runs all the tests;
- vandermonde_approx_1d_test.txt, the output file.

- vandermonde_approx_1d_test01.m, approximates a given test problem with a polynomial of given order.

The code generates some plots of the data and approximants.

- p01_data.png, a plot of the data and piecewise linear interpolant for problem p01;
- p01_poly00.png, a plot of the polynomial interpolant for problem p01, degree 0;
- p01_poly01.png, a plot of the polynomial interpolant for problem p01, degree 1;
- p01_poly02.png, a plot of the polynomial interpolant for problem p01, degree 2;
- p01_poly03.png, a plot of the polynomial interpolant for problem p01, degree 3;
- p01_poly04.png, a plot of the polynomial interpolant for problem p01, degree 4;
- p01_poly05.png, a plot of the polynomial interpolant for problem p01, degree 5;
- p01_poly07.png, a plot of the polynomial interpolant for problem p01, degree 7;
- p01_poly09.png, a plot of the polynomial interpolant for problem p01, degree 9;
- p01_poly12.png, a plot of the polynomial interpolant for problem p01, degree 12;
- p02_data.png, a plot of the data and piecewise linear interpolant for problem p02;
- p02_poly00.png, a plot of the polynomial interpolant for problem p02, degree 0;
- p02_poly01.png, a plot of the polynomial interpolant for problem p02, degree 1;
- p02_poly02.png, a plot of the polynomial interpolant for problem p02, degree 2;
- p02_poly03.png, a plot of the polynomial interpolant for problem p02, degree 3;
- p02_poly04.png, a plot of the polynomial interpolant for problem p02, degree 4;
- p02_poly05.png, a plot of the polynomial interpolant for problem p02, degree 5;
- p02_poly07.png, a plot of the polynomial interpolant for problem p02, degree 7;
- p02_poly09.png, a plot of the polynomial interpolant for problem p02, degree 9;
- p02_poly12.png, a plot of the polynomial interpolant for problem p02, degree 12;
- p03_data.png, a plot of the data and piecewise linear interpolant for problem p03;
- p03_poly00.png, a plot of the polynomial interpolant for problem p03, degree 0;
- p03_poly01.png, a plot of the polynomial interpolant for problem p03, degree 1;
- p03_poly02.png, a plot of the polynomial interpolant for problem p03, degree 2;
- p03_poly03.png, a plot of the polynomial interpolant for problem p03, degree 3;
- p03_poly04.png, a plot of the polynomial interpolant for problem p03, degree 4;
- p03_poly05.png, a plot of the polynomial interpolant for problem p03, degree 5;
- p03_poly07.png, a plot of the polynomial interpolant for problem p03, degree 7;
- p03_poly09.png, a plot of the polynomial interpolant for problem p03, degree 9;
- p03_poly12.png, a plot of the polynomial interpolant for problem p03, degree 12;
- p04_data.png, a plot of the data and piecewise linear interpolant for problem p04;
- p04_poly00.png, a plot of the polynomial interpolant for problem p04, degree 0;
- p04_poly01.png, a plot of the polynomial interpolant for problem p04, degree 1;
- p04_poly02.png, a plot of the polynomial interpolant for problem p04, degree 2;
- p04_poly03.png, a plot of the polynomial interpolant for problem p04, degree 3;
- p04_poly04.png, a plot of the polynomial interpolant for problem p04, degree 4;
- p04_poly05.png, a plot of the polynomial interpolant for problem p04, degree 5;
- p04_poly07.png, a plot of the polynomial interpolant for problem p04, degree 7;
- p04_poly09.png, a plot of the polynomial interpolant for problem p04, degree 9;
- p04_poly12.png, a plot of the polynomial interpolant for problem p04, degree 12;
- p05_data.png, a plot of the data and piecewise linear interpolant for problem p05;
- p05_poly00.png, a plot of the polynomial interpolant for problem p05, degree 0;
- p05_poly01.png, a plot of the polynomial interpolant for problem p05, degree 1;
- p05_poly02.png, a plot of the polynomial interpolant for problem p05, degree 2;
- p05_poly03.png, a plot of the polynomial interpolant for problem p05, degree 3;
- p05_poly04.png, a plot of the polynomial interpolant for problem p05, degree 4;
- p05_poly05.png, a plot of the polynomial interpolant for problem p05, degree 5;
- p05_poly07.png, a plot of the polynomial interpolant for problem p05, degree 7;
- p05_poly09.png, a plot of the polynomial interpolant for problem p05, degree 9;
- p05_poly12.png, a plot of the polynomial interpolant for problem p05, degree 12;
- p06_data.png, a plot of the data and piecewise linear interpolant for problem p06;
- p06_poly00.png, a plot of the polynomial interpolant for problem p06, degree 0;
- p06_poly01.png, a plot of the polynomial interpolant for problem p06, degree 1;
- p06_poly02.png, a plot of the polynomial interpolant for problem p06, degree 2;
- p06_poly03.png, a plot of the polynomial interpolant for problem p06, degree 3;
- p06_poly04.png, a plot of the polynomial interpolant for problem p06, degree 4;
- p06_poly05.png, a plot of the polynomial interpolant for problem p06, degree 5;
- p06_poly07.png, a plot of the polynomial interpolant for problem p06, degree 7;
- p06_poly09.png, a plot of the polynomial interpolant for problem p06, degree 9;
- p06_poly12.png, a plot of the polynomial interpolant for problem p06, degree 12;
- p07_data.png, a plot of the data and piecewise linear interpolant for problem p07;
- p07_poly00.png, a plot of the polynomial interpolant for problem p07, degree 0;
- p07_poly01.png, a plot of the polynomial interpolant for problem p07, degree 1;
- p07_poly02.png, a plot of the polynomial interpolant for problem p07, degree 2;
- p07_poly03.png, a plot of the polynomial interpolant for problem p07, degree 3;
- p07_poly04.png, a plot of the polynomial interpolant for problem p07, degree 4;
- p07_poly05.png, a plot of the polynomial interpolant for problem p07, degree 5;
- p07_poly07.png, a plot of the polynomial interpolant for problem p07, degree 7;
- p07_poly09.png, a plot of the polynomial interpolant for problem p07, degree 9;
- p07_poly12.png, a plot of the polynomial interpolant for problem p07, degree 12;
- p08_data.png, a plot of the data and piecewise linear interpolant for problem p08;
- p08_poly00.png, a plot of the polynomial interpolant for problem p08, degree 0;
- p08_poly01.png, a plot of the polynomial interpolant for problem p08, degree 1;
- p08_poly02.png, a plot of the polynomial interpolant for problem p08, degree 2;
- p08_poly03.png, a plot of the polynomial interpolant for problem p08, degree 3;
- p08_poly04.png, a plot of the polynomial interpolant for problem p08, degree 4;
- p08_poly05.png, a plot of the polynomial interpolant for problem p08, degree 5;
- p08_poly07.png, a plot of the polynomial interpolant for problem p08, degree 7;
- p08_poly09.png, a plot of the polynomial interpolant for problem p08, degree 9;
- p08_poly12.png, a plot of the polynomial interpolant for problem p08, degree 12;