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

Plot perceptron input/target vectors

Syntax

Description

plotpv(P,T) take these inputs,

and plots column vectors in P with markers based on T.

plotpv(P,T,V) takes an additional input,

and plots the column vectors with limits set by V.

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 ]