N-Point Central Differencing

Computes an n-point central difference of function f with spacing h.

Download
Download

You are now following this Submission

Cite As

James (2026). N-Point Central Differencing (https://au.mathworks.com/matlabcentral/fileexchange/36123-n-point-central-differencing), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: central_diff2(y,deltat,d,a)

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Added automatic downgrading of n if length(f) < n.

Download
1.1.0

Updated handling of erroneous inputs.

Download
1.0.0

Download