Finite Difference Weights

Computes the finite difference for a uniform grid.

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0