| Neural Network Toolbox | |
| Provide feedback about this page |
Error surface of single-input neuron
Syntax
Description
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) |
and returns a matrix of error values over WV and BV.
Examples
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])
See Also
| Provide feedback about this page |
![]() | dotprod | fixunknowns | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |