Neural Network Toolbox
  Go to function:
    Search    Help Desk 
plotpc    Examples   See Also

Plot a classification line on a perceptron vector plot

Syntax

Description

plotpc(W,B) takes these inputs,

and returns a handle to a plotted classification line.

plotpc(W,B,H) takes these inputs,

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 | Help Desk | Next ]