This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


Symmetric saturating linear transfer function

Graph and Symbol


A = satlins(N,FP)


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,


S-by-Q matrix of net input (column) vectors


Struct of function parameters (optional, ignored)

and returns A, the S-by-Q matrix of N's elements clipped to [-1, 1].

info = satlins('code') returns useful information for each supported code string:

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.


Here is the code to create a plot of the satlins transfer function.

n = -5:0.1:5;
a = satlins(n);

More About

collapse all


satlins(n) = -1, if n <= -1
n, if -1 <= n <= 1
1, if 1 <= n

See Also

| | |

Introduced before R2006a

Was this topic helpful?