%% RefPlotpc
% This example shows
%% plotpv

p = [0 0 1 1; 0 1 0 1];
t = [0 0 0 1];
plotpv(p,t)

%
%% plotpc

net = perceptron;
net = configure(net,p,t);
net.iw{1,1} = [-1.2 -0.5];
net.b{1} = 1;
plotpc(net.iw{1,1},net.b{1})

% Copyright 2015 The MathWorks, Inc.