Neural Network Toolbox | Search  Help Desk |
tribas | Examples See Also |
Triangular basis transfer function
A = tribas(N)
info = tribas(code)
tribas
is a transfer function. Transfer functions calculate a layer's output from its net input.
tribas(N)
takes one input,
N - S
x Q
matrix of net input (column) vectors.
N
passed through a radial basis function.
tribas(code)
returns useful information for each code
string:
Here we create a plot of the tribas
transfer function.
n = -5:0.1:5; a = tribas(n); plot(n,a)To change a network so that a layer uses
tribas,
set net.layers{i}.transferFcn
to 'tribas
'.
Call sim
to simulate the network with tribas
.
tribas(N)
calculates its output with according to:
tribas(n) = 1-abs(n)
, if -1 <= n <= 1; = 0, otherwise.
sim
,
radbas