satlin
Saturating linear transfer function
Graph and Symbol

Syntax
A = satlin(N,FP)
Description
satlin is a neural transfer function. Transfer functions calculate a
layer’s output from its net input.
A = satlin(N,FP) takes two inputs,
N |
|
FP | Struct of function parameters (ignored) |
and returns A, the S-by-Q matrix
of N’s elements clipped to [0, 1].
info = satlin(' returns useful
information for each supported code')code character vector:
satlin('name') returns the name of this function.
satlin('output',FP) returns the [min max] output
range.
satlin('active',FP) returns the [min max] active
input range.
satlin('fullderiv') returns 1 or 0, depending on whether
dA_dN is
S-by-S-by-Q or
S-by-Q.
satlin('fpnames') returns the names of the function parameters.
satlin('fpdefaults') returns the default function parameters.
Examples
Here is the code to create a plot of the satlin transfer
function.
n = -5:0.1:5; a = satlin(n); plot(n,a)
Assign this transfer function to layer i of a network.
net.layers{i}.transferFcn = 'satlin';
Algorithms
a = satlin(n) = 0, if n <= 0 n, if 0 <= n <= 1 1, if 1 <= n
Version History
Introduced before R2006a