rand(n,m) 구간 $[0,1)$ 내의 숫자로 채워진 n행 m열 행렬을 돌려줌 X=rand(1,8)<0.5; Generate 1 row of [[베르누이_시행,Bernoulli_trial]]s with p=0.5