Neural Network Toolbox Previous page   Next Page
dhardlim

Derivative of hard limit transfer function

Syntax

dA_dN = dhardlim(N,A)

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

hardlim


Previous page  ddotprod dhardlms Next page

© 1994-2005 The MathWorks, Inc.