Finite difference coefficients generator

A simple generator for coefficients of central finite-difference (FD) stencils
116 Downloads
Updated 9 Jan 2021

View License

Generate the `m`-th order derivative of `n`-th order of accuracy of a central FD stencil. An example for generating all the coefficients of Table 1 in https://en.wikipedia.org/wiki/Finite_difference_coefficient, is presented.

Cite As

Manuel A. Diaz (2026). Finite difference coefficients generator (https://www.mathworks.com/matlabcentral/fileexchange/85398-finite-difference-coefficients-generator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0