Documentation

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.

satlins

Symmetric saturating linear transfer function

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

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

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('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.

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)

More About

collapse all

Algorithms

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

See Also

| | |

Introduced before R2006a

Was this topic helpful?