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

Positive linear transfer function

Graph and Symbol

Syntax

A = poslin(N)

info = poslin(code)

Description

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

poslin(N) takes one input,

and returns the maximum of 0 and each element of N.

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

Examples

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

Network Use

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

Call sim to simulate the network with poslin.

Algorithm

poslin(n) = n, if n >= 0; = 0, if n <= 0.

See Also

sim, purelin, satlin, satlins



[ Previous | Help Desk | Next ]