| Neural Network Toolbox | Search  Help Desk |
| errsurf | Examples See Also |
Error surface of single input neuron
errsurf(p,t,wv,bv,f)errsurf(p,t,wv,bv,f) takes these arguments,
P - 1 x Q matrix of input vectors.
T - 1 x Q matrix of target vectors.
WV - Row vector of values of W.
BV - Row vector of values of B.
F - Transfer function (string).
WV and BV.
p = [-6.0 -6.1 -4.1 -4.0 +4.0 +4.1 +6.0 +6.1]; t = [+0.0 +0.0 +.97 +.99 +.01 +.03 +1.0 +1.0]; wv = -1:.1:1; bv = -2.5:.25:2.5; es = errsurf(p,t,wv,bv,'logsig'); plotes(wv,bv,ES,[60 30])
plotes