Hauptinhalt

plotes

R2026b

(To be removed) Plot error surface of single-input neuron

plotes will be removed in a future release. For more information, see Transition Legacy Neural Network Code to dlnetwork Workflows.

For advice on updating your code, see Version History.

Syntax

plotes(WV,BV,ES,V)

Description

plotes(WV,BV,ES,V) takes these arguments,

WV

1-by-N row vector of values of W

BV

1-by-M row vector of values of B

ES

M-by-N matrix of error vectors

V

View (default = [-37.5, 30])

and plots the error surface with a contour underneath.

Calculate the error surface ES with errsurf.

Examples

Plot Error Surface of Single-Input Neuron

p = [3 2];
t = [0.4 0.8];
wv = -4:0.4:4;
bv = wv;
ES = errsurf(p,t,wv,bv,'logsig');
plotes(wv,bv,ES,[60 30])

3-D error surface and contour plot for weight W and bias B of a logsig neuron

Version History

Introduced before R2006a