pwl_interp_1d_test, an Octave code which calls pwl_interp_1d(), which interpolates a set of data with a piecewise linear (PWL) function.
The computer code and data files described and made available on this web page are distributed under the MIT license
pwl_interp_1d, an Octave code which interpolates a set of data using a piecewise linear (PWL) function.
pwl_interp_1d_test01() plots the piecewise linear interpolant to the data.
pwl_interp_1d_test02() plots the basis functions to the data.