**diff_forward_test**,
a MATLAB code which
calls diff_forward(), which
uses forward differences to estimate the derivative
of a function f(x), using a stepsize h.

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

diff_forward, a MATLAB code which interactively uses forward differences to estimate the derivative of a function f(x), using a stepsize h.

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

- humps_fun.m an example function whose derivative is to be approximated.
- humps_deriv.m the exact derivative of the humps function.
- diff_humps.png a plot comparing the exact and estimated derivative functions.