Neural Network Toolbox™ Previous page   Next Page 
purelin
 Provide feedback about this page

Linear transfer function

Graph and Symbol

Syntax

Description

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

purelin(N,FP) takes N and optional function parameters,

N
S x Q matrix of net input (column) vectors
FP
Struct of function parameters (ignored)

and returns A, an S x Q matrix equal to N.

purelin('dn',N,A,FP) returns the S x Q derivative of A with respect to N. If A or FP is not supplied or is set to [], FP reverts to the default parameters, and A is calculated from N.

purelin('name') returns the name of this function.

purelin('output',FP) returns the [min max] output range.

purelin('active',FP) returns the [min max] active input range.

purelin('fullderiv') returns 1 or 0, depending on whether dA_dN is S x S x Q or S x Q.

purelin('fpnames') returns the names of the function parameters.

purelin('fpdefaults') returns the default function parameters.

Examples

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

Assign this transfer function to layer i of a network.

Algorithm

See Also

sim, satlin, satlins


 Provide feedback about this page 

Previous page processpca quant Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS