Neural Network Toolbox    
dpurelin

Linear transfer derivative function

Syntax

dA_dN = dpurelin(N,A)

Description

dpurelin is the derivative function for logsig.

dpurelin(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 purelin neurons.

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

Algorithm

The derivative of purelin is calculated as follows:

See Also

purelin


  dposlin dradbas 

Learn more about the latest releases of MathWorks products:

 © 1994-2010 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS