%Script file to run some samples noisesample=0.2; P = alphabet + randn(35,26)*noisesample; T=sim(netn,P); Names={'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'}; for j=1:15 k=ceil(26*rand); A=vectoalpha(P(:,k)); imagesc(A) colormap(gray) pause fprintf('Think about what that letter is, and press any key to see how you compare with Matlab:\n'); [val,idx]=max(T(:,k)); fprintf('The letter should be: %str ',Names{k}); fprintf('Matlab predicted it would be: %str \n',Names{idx}); fprintf('Press any key to continue\n'); pause end