image thumbnail

Finite difference coefficients generator

version 1.0.0 (3.29 KB) by Manuel A. Diaz
A simple generator for coefficients of central finite-difference (FD) stencils

26 Downloads

Updated 09 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 (2021). 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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!