Neural Network Toolbox Previous page   Next Page
dtansig

Hyperbolic tangent sigmoid transfer derivative function

Syntax

dA_dN = dtansig(N,A)

Description

dtansig is the derivative function for tansig.

dtansig(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 tansig neurons.

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

Algorithm

The derivative of tansig is calculated as follows:

See Also

tansig, logsig, dlogsig


Previous page  dsse dtribas Next page

© 1994-2005 The MathWorks, Inc.