Finite Difference Weights

Computes the finite difference for a uniform grid.
5.9K Downloads
Updated 18 Jun 2004

View License

This script computes the weights for arbitrary finite difference approximations on a uniform grid. You can choose any number of points (order) for the scheme and compute the weights for any order derivative operator. This script computes weights for centered and non-centered differences.

Cite As

Greg von Winckel (2026). Finite Difference Weights (https://www.mathworks.com/matlabcentral/fileexchange/5269-finite-difference-weights), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0