Neural Network Toolbox Previous page   Next Page
satlin

Saturating linear transfer function

Graph and Symbol

Syntax

Description

satlin is a transfer function. Transfer functions calculate a layer's output from its net input.

satlin(N) takes one input,

and returns values of N truncated into the interval [-1, 1].

satlin(code) returns useful information for each code string:

Examples

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

Network Use

To change a network so that a layer uses satlin, set net.layers{i}.transferFcn to 'satlin'.

Call sim to simulate the network with satlin. See newhop for simulation examples.

Algorithm

satlin(n) = 0, if n <= 0; n, if 0 <= n <= 1; 1, if 1 <= n.

See Also


Previous page  revert satlins Next page

© 1994-2005 The MathWorks, Inc.