Finite Difference Weights

Computes the finite difference for a uniform grid.
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 (2024). Finite Difference Weights (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
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!
Version Published Release Notes