Central Difference Gradient Approximator
Version 1.0.0.0 (498 Bytes) by
Sean Wu
Approximates the gradient of a function of n variables using a central difference approximation.
This function returns the gradient vector of the function fcn using a
central difference approximation. Inputs are the function @fcn,
x=[x1,..xn] and the purturbation size r.
Cite As
Sean Wu (2026). Central Difference Gradient Approximator (https://uk.mathworks.com/matlabcentral/fileexchange/50139-central-difference-gradient-approximator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Structures in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Airfoil optimization using Xfoil and PARSEC geometric parameterization
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
