image thumbnail

Finite Difference Weights

version 1.0.0.0 (1.5 KB) by Greg von Winckel
Computes the finite difference for a uniform grid.

5.8K 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 (2021). 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

Community Treasure Hunt

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

Start Hunting!