image thumbnail

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.

160 Downloads

Updated 21 Mar 2015

View License

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 (2021). Central Difference Gradient Approximator (https://www.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 Linux

Community Treasure Hunt

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

Start Hunting!