Neural Network Toolbox |
Graph and Symbol
Syntax
Description
purelin is a transfer function. Transfer functions calculate a layer's output from its net input.
purelin(code)
returns useful information for each code
string:
Examples
Here is the code to create a plot of the purelin transfer function.
Network Use
You can create a standard network that uses purelin by calling newlin
or newlind
.
To change a network so a layer uses purelin, set net.layers{i}.transferFcn
to 'purelin'.
In either case, call sim to simulate the network with purelin. See newlin
or newlind
for simulation examples.
Algorithm
See Also
prestd | quant |
© 1994-2005 The MathWorks, Inc.