Finite Difference Weights
Updated 18 Jun 2004
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.
Greg von Winckel (2023). Finite Difference Weights (https://www.mathworks.com/matlabcentral/fileexchange/5269-finite-difference-weights), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.