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