Neural Network Toolbox | Search  Help Desk |
dsatlin | Examples See Also |
Derivative of saturating linear transfer function
dA_dN = dsatlin(N,A)
dsatlin is the derivative function for satlin.
dsatlin(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 satlin neurons.
N = [0.1; 0.8; -0.7];We calculate the layer's output A with satlin and then the derivative of A with respect to N.
A = satlin(N) dA_dN = dsatlin(N,A)The derivative of satlin is calculated as follows:
d = 1, if 0 <= n <= 1; 0, Otherwise..
satlin