pwl_approx_1d_test, a MATLAB code which calls pwl_approx_1d(), which defines and evaluates 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 code 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 12 August 2019.