| Neural Network Toolbox | Search  Help Desk | 
| dpurelin | Examples See Also | 
Linear transfer derivative function
dA_dN = dpurelin(N,A)
dpurelin is the derivative function for logsig.
dpurelin(N,A) takes two arguments,
and returns the S x Q derivative dA_dN.
Here we define the net input N for a layer of 3 purelin neurons.
N = [0.1; 0.8; -0.7];We calculate the layer's output
A with purelin and then the derivative of A with respect to N.
A = purelin(N)
dA_dN = dpurelin(N,A)
The derivative of purelin is calculated as follows:
D(i,q) = 1
purelin