ANN Perceptron training function.
[w,b] = ann_PERCEPTRON(P,T)
Training input
Training target
weights for the network
bias for the network
This funtion is a simple perceptron training function.
P = [0 0 1 1 ; 0 1 0 1]; T = [0 0 0 1]; [w,b] = ann_PERCEPTRON(P,T); y = ann_PERCEPTRON_run(P,w,b)