Derivative: Central Difference Approximation

Compile this mex file for central difference approximation of the derivative of a function.

You are now following this Submission

Compile this mex file for central difference approximation of the derivative of a function.

>> mex dqdt.c

usage:
dydx = dqdt(y,x)

x corresponds to columns of y. y can have any number of columns.

Cite As

Geoff Wawrzyniak (2026). Derivative: Central Difference Approximation (https://in.mathworks.com/matlabcentral/fileexchange/11965-derivative-central-difference-approximation), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: DGradient

Categories

Find more on Simulation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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