**interp_ncs_test**,
a MATLAB code which
calls interp_ncs(), which
interactively computes a natural cubic spline (NCS) interpolant to
a function f(x) at n equally spaced points in the interval [a,b],
using the "zero second derivative" condition at the endpoints.

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

interp_ncs, a MATLAB code which interactively computes a natural cubic spline (NCS) interpolant to a function f(x) at n equally spaced points in the interval [a,b], using the "zero second derivative" condition at the endpoints.

- interp_ncs_test.m the source code.
- interp_ncs_test.sh runs all the tests.
- interp_ncs_test.txt the output file.

- humps_fun.m an example function to be interpolated.
- humps_ncs.png a plot comparing the function and its interpolant.