Neural Network Toolbox    

Functions by Class

Analysis Functions
errsurf
Error surface of a single input neuron.
maxlinlr
Maximum learning rate for a linear neuron.

Distance Functions
boxdist
Distance between two position vectors.
dist
Euclidean distance weight function.
linkdist
Link distance function.
mandist
Manhattan distance weight function.

Graphical Interface Function
nntool
Neural Network Tool - Graphical User Interface.

Layer Initialization Functions
initnw
Nguyen-Widrow layer initialization function.
initwb
By-weight-and-bias layer initialization function.

Learning Functions
learncon
Conscience bias learning function.
learngd
Gradient descent weight/bias learning function.
learngdm
Grad. descent w/momentum weight/bias learning function.
learnh
Hebb weight learning function.
learnhd
Hebb with decay weight learning rule.
learnis
Instar weight learning function.
learnk
Kohonen weight learning function.
learnlv1
LVQ1 weight learning function.
learnlv2
LVQ2 weight learning function.
learnos
Outstar weight learning function.
learnp
Perceptron weight and bias learning function.
learnpn
Normalized perceptron weight and bias learning function.
learnsom
Self-organizing map weight learning function.
learnwh
Widrow-Hoff weight and bias learning rule.

Line Search Functions
srchbac
One-dim. minimization using backtracking search.
srchbre
One-dim. interval location using Brent's method.
srchcha
One-dim. minimization using Charalambous' method.
srchgol
One-dim. minimization using Golden section search.
srchhyb
One-dim. minimization using Hybrid bisection/cubic search.

Net Input Derivative Functions
dnetprod
Product net input derivative function.
dnetsum
Sum net input derivative function.

Net Input Functions
netprod
Product net input function.
netsum
Sum net input function.

Network Initialization Functions
initlay
Layer-by-layer network initialization function.

Network Use Functions
adapt
Allow a neural network to adapt.
disp
Display a neural network's properties.
display
Display a neural network variable's name and properties.
init
Initialize a neural network.
sim
Simulate a neural network.
train
Train a neural network.

New Networks Functions
network
Create a custom neural network.
newc
Create a competitive layer.
newcf
Create a cascade-forward backpropagation network.
newelm
Create an Elman backpropagation network.
newff
Create a feed-forward backpropagation network.
newfftd
Create a feed-forward input-delay backprop network.
newgrnn
Design a generalized regression neural network.
newhop
Create a Hopfield recurrent network.
newlin
Create a linear layer.
newlind
Design a linear layer.
newlvq
Create a learning vector quantization network
newp
Create a perceptron.
newpnn
Design a probabilistic neural network.
newrb
Design a radial basis network.
newrbe
Design an exact radial basis network.
newsom
Create a self-organizing map.

Performance Derivative Functions
dmae
Mean absolute error performance derivative function.
dmse
Mean squared error performance derivatives function.
dmsereg
Mean squared error w/reg performance derivative function.
dsse
Sum squared error performance derivative function.

Performance Functions
mae
Mean absolute error performance function.
mse
Mean squared error performance function.
msereg
Mean squared error w/reg performance function.
sse
Sum squared error performance function.

Plotting Functions
hintonw
Hinton graph of weight matrix.
hintonwb
Hinton graph of weight matrix and bias vector.
plotbr
Plot network perf. for Bayesian regularization training.
plotep
Plot weight and bias position on error surface.
plotes
Plot error surface of single input neuron.
plotpc
Plot classification line on perceptron vector plot.
plotperf
Plot network performance.
plotpv
Plot perceptron input target vectors.
plotsom
Plot self-organizing map.
plotv
Plot vectors as lines from the origin.
plotvec
Plot vectors with different colors.

Pre and Post Processing Functions
postmnmx
Unnormalize data which has been norm. by prenmmx.
postreg
Postprocess network response w. linear regression analysis.
poststd
Unnormalize data which has been normalized by prestd.
premnmx
Normalize data for maximum of 1 and minimum of -1.
prepca
Principal component analysis on input data.
prestd
Normalize data for unity standard deviation and zero mean.
tramnmx
Transform data with precalculated minimum and max.
trapca
Transform data with PCA matrix computed by prepca.
trastd
Transform data with precalc. mean & standard deviation.

Simulink Support Function
gensim
Generate a Simulink block for neural network simulation.

Topology Functions
gridtop
Gridtop layer topology function.
hextop
Hexagonal layer topology function.
randtop
Random layer topology function.

Training Functions
trainb
Batch training with weight and bias learning rules.
trainbfg
BFGS quasi-Newton backpropagation.
trainbr
Bayesian regularization.
trainc
Cyclical order incremental update.
traincgb
Powell-Beale conjugate gradient backpropagation.
traincgf
Fletcher-Powell conjugate gradient backpropagation.
traincgp
Polak-Ribiere conjugate gradient backpropagation.
traingd
Gradient descent backpropagation.
traingda
Gradient descent with adaptive lr backpropagation.
traingdm
Gradient descent with momentum backpropagation.
traingdx
Gradient descent with momentum & adaptive lr backprop.
trainlm
Levenberg-Marquardt backpropagation.
trainoss
One step secant backpropagation.
trainr
Random order incremental update.
trainrp
Resilient backpropagation (Rprop).
trains
Sequential order incremental update.
trainscg
Scaled conjugate gradient backpropagation.

Transfer Derivative Functions
dhardlim
Hard limit transfer derivative function.
dhardlms
Symmetric hard limit transfer derivative function.
dlogsig
Log sigmoid transfer derivative function.
dposlin
Positive linear transfer derivative function.
dpurelin
Linear transfer derivative function.
dradbas
Radial basis transfer derivative function.
dsatlin
Saturating linear transfer derivative function.
dsatlins
Symmetric saturating linear transfer derivative function.
dtansig
Hyperbolic tangent sigmoid transfer derivative function.
dtribas
Triangular basis transfer derivative function.

Transfer Functions 
compet
Competitive transfer function.
hardlim
Hard limit transfer function.
hardlims
Symmetric hard limit transfer function.
logsig
Log sigmoid transfer function.
poslin
Positive linear transfer function.
purelin
Hard limit transfer function.
radbas
Radial basis transfer function.
satlin
Saturating linear transfer function.
satlins
Symmetric saturating linear transfer function.
softmax
Softmax transfer function.
tansig
Hyperbolic tangent sigmoid transfer function.
tribas
Triangular basis transfer function.

Utility Functions
calca
Calculate network outputs and other signals.
calca1
Calculate network signals for one time step.
calce
Calculate layer errors.
calce1
Calculate layer errors for one time step.
calcgx
Calc. weight and bias perform. gradient as a single vector.
calcjejj
Calculate Jacobian performance vector.
calcjx
Calculate weight and bias performance Jacobian as a single matrix.
calcpd
Calculate delayed network inputs.
calcperf
Calculation network outputs, signals, and performance.
formx
Form bias and weights into single vector.
getx
Get all network weight and bias values as a single vector.
setx
Set all network weight and bias values with a single vector.

Vector Functions
cell2mat
Combine a cell array of matrices into one matrix.
combvec
Create all combinations of vectors.
con2seq
Converts concurrent vectors to sequential vectors.
concur
Create concurrent bias vectors.
ind2vec
Convert indices to vectors.
mat2cell
Break matrix up into cell array of matrices.
minmax
Ranges of matrix rows.
normc
Normalize columns of matrix.
normr
Normalize rows of matrix.
pnormc
Pseudo-normalize columns of matrix.
quant
Discretize value as multiples of a quantity.
seq2con
Convert sequential vectors to concurrent vectors.
sumsqr
Sum squared elements of matrix.
vec2ind
Convert vectors to indices.

Weight and Bias Initialization Functions
initcon
Conscience bias initialization function.
initzero
Zero weight and bias initialization function.
midpoint
Midpoint weight initialization function.
randnc
Normalized column weight initialization function.
randnr
Normalized row weight initialization function.
rands
Symmetric random weight/bias initialization function.
revert
Change ntwk wts. and biases to prev. initialization values.

Weight Derivative Function
ddotprod
Dot product weight derivative function.

Weight Functions
dist
Euclidean distance weight function.
dotprod
Dot product weight function.
mandist
Manhattan distance weight function.
negdist
Negative distance weight function.
normprod
Normalized dot product weight function.


  Reference Transfer Functions