%Script to run banditS m=randn(10,1); %[As,Q,R,p]=banditP(1000,m,0.01); %This choice works very well! [As,Q,R,p]=banditP(1000,m,0.5);