Derivative: Central Difference Approximation

Compile this mex file for central difference approximation of the derivative of a function.
2.7K Downloads
Updated 16 Aug 2006

No License

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 (2024). Derivative: Central Difference Approximation (https://www.mathworks.com/matlabcentral/fileexchange/11965-derivative-central-difference-approximation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Simulation in Help Center and MATLAB Answers
Acknowledgements

Inspired: DGradient

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0