Neural Network Toolbox
  Go to function:
    Search    Help Desk 
satlin    Examples   See Also

Saturating linear transfer function

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 | Help Desk | Next ]