Neural Network Toolbox Previous page   Next Page
plotpc

Plot a classification line on a perceptron vector plot

Syntax

plotpc(W,B,H)

Description

plotpc(W,B) takes these inputs,

and returns a handle to a plotted classification line.

plotpc(W,B,H) takes anadditional input,

and deletes the last line before plotting the new one.

This function does not change the current axis and is intended to be called after plotpv.

Examples

The code below defines and plots the inputs and targets for a perceptron:

The following code creates a perceptron with inputs ranging over the values in P, assigns values to its weights and biases, and plots the resulting classification line.

See Also


Previous page  plotes plotperf Next page

© 1994-2005 The MathWorks, Inc.