image thumbnail

Gradient from Neural Network

version (43.2 KB) by Alan Jennings
Function that takes a NN and creates a new NN that gives the gradient.


Updated 08 Aug 2010

View License

The form of a single layer feed forward neural network lends itself to finding the gradient. This is useful when the network is used for surrogate optimization or other algorithms that use gradients. Requires creating a file by modifying a NN toolbox file.

Cite As

Alan Jennings (2022). Gradient from Neural Network (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
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!