satlins
(To be removed) Symmetric saturating linear transfer function
satlins will be removed in a future release. For more information,
see Transition Legacy Neural Network Code to dlnetwork Workflows.
For advice on updating your code, see Version History.
Graph and Symbol

Syntax
A = satlins(N,FP)
Description
satlins is a neural transfer function. Transfer functions calculate
a layer’s output from its net input.
A = satlins(N,FP) takes N and an optional
argument,
N |
|
FP | Struct of function parameters (optional, ignored) |
and returns A, the S-by-Q
matrix of N’s elements clipped to [-1, 1].
info = satlins(' returns useful
information for each supported code')code character vector:
satlins('name') returns the name of this function.
satlins('output',FP) returns the [min max]
output range.
satlins('active',FP) returns the [min max]
active input range.
satlins('fullderiv') returns 1 or 0, depending on whether
dA_dN is
S-by-S-by-Q or
S-by-Q.
satlins('fpnames') returns the names of the function
parameters.
satlins('fpdefaults') returns the default function
parameters.
Examples
Here is the code to create a plot of the satlins transfer
function.
n = -5:0.1:5; a = satlins(n); plot(n,a)
Algorithms
satlins(n) = -1, if n <= -1 n, if -1 <= n <= 1 1, if 1 <= n
Version History
Introduced before R2006aSee Also
Time Series
Modeler | fitrnet (Statistics and Machine Learning Toolbox) | fitcnet (Statistics and Machine Learning Toolbox) | trainnet | trainingOptions | dlnetwork