pwl_approx_1d_test, a MATLAB program which calls pwl_approx_1d() to define and evaluate a piecewise linear function, using NC "control points", which approximates a set of ND data points (x(i),y(i)).


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:

pwl_approx_1d, a MATLAB library which approximates a set of data using a piecewise linear function.

Source Code:

pwl_approx_1d_test01() uses nc evenly spaced control points to approximate a set of nd data values.

Last modified on 06 March 2019.