Derivative of symmetric hard limit transfer function
Syntax
dA_dN = dhardlms(N,A)
Description
dhardlms is the derivative function for hardlims.
dhardlms(N,A) takes two arguments,
N - S x Q net input.
A - S x Q output.
and returns the S x Q derivative dA/dN.
Examples
Here we define the net input N for a layer of 3 hardlims neurons.
N = [0.1; 0.8; -0.7];
We calculate the layer's output A with hardlims and then the derivative of A with respect to N.
A = hardlims(N)
dA_dN = dhardlms(N,A)
Algorithm
The derivative of hardlims is calculated as follows:
d = 0
See Also
hardlims
[ Previous | Help Desk | Next ]