Neural Network Toolbox Previous page   Next Page
dhardlms

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,

and returns the S x Q derivative dA/dN.

Examples

Here we define the net input N for a layer of 3 hardlims neurons.

We calculate the layer's output A with hardlims and then the derivative of A with respect to N.

Algorithm

The derivative of hardlims is calculated as follows:

See Also

hardlims


Previous page  dhardlim disp Next page

© 1994-2005 The MathWorks, Inc.