From: Alaa Selim on
Hello,
I need to write an OCR program to train my net to recognize 3 or 4 letters and then test some of them with noise. How do you load the bmp images and make the newff recognize them?

I only have this code as an example:
p = [0,0,1,1;0,1,0,1];
t = [0,1,1,0];

NET = newff(minmax(p),[2,1],{'tansig','logsig'});
NET.trainparam.goal = 1e-11;
NET.trainparam.epochs=200;

net = train(NET,p,t);
figure,plotpv(p,t);
plotpc(net.iw{1,1},net.b{1});