| Neural Network Toolbox | ![]() |
Derivative of hard limit transfer function
Syntax
Description
dhardlim is the derivative function for hardlim.
dhardlim(N,A) takes two arguments,
and returns the S x Q derivative dA/dN.
Examples
Here we define the net input N for a layer of 3 hardlim neurons.
We calculate the layer's output A with hardlim and then the derivative of A with respect to N.
Algorithm
The derivative of hardlim is calculated as follows:
See Also
| ddotprod | dhardlms | ![]() |