Friends:
below code to simulate the Sophienalpe (I can explain if interested) problem:
timer();a=[];for j=1:3;y=zeros(1,12);i=0;while
~and(y);z=grand(1,1,'uin',1,12);y(z)=y(z)+1;i=i+1;end;a=[a,i];end; timer()
On my new Apple silicon M1 iMac it takes 6.7 s;
on my old i7 iMac 3.2 GHz it
Friends:
below code to simulate the Sophienalpe (I can explain if interested) problem:
timer();a=[];for j=1:3;y=zeros(1,12);i=0;while
~and(y);z=grand(1,1,'uin',1,12);y(z)=y(z)+1;i=i+1;end;a=[a,i];end; timer()
On my new Apple silicon M1 iMac it takes 6.7 s;
on my old i7 iMac 3.2 GHz it