Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

errsurf

Error surface of single-input neuron

Syntax

errsurf(P,T,WV,BV,F)

Description

errsurf(P,T,WV,BV,F) takes these arguments,

P

1-by-Q matrix of input vectors

T

1-by-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

Introduced before R2006a

Was this topic helpful?