MATLAB_and_Octave Edit Diff Refresh Backlink Random Search History Help Setting Hide Show MATLAB_and_Octave (rev. 1.2) rand(n,m) 구간 내의 숫자로 채워진 n행 m열 행렬을 돌려줌 X=rand(1,8)<0.5; Generate 1 row of 베르누이_시행,Bernoulli_trials with p=0.5