rand()가 0~1까지의 수를 무작위로 추출하는 함수라서 0을 포함시키지 않는 것과 중복수를 삭제하는 것이 가장 큰 문제였다. 그래서 1~ 6개의 생성된 정수집합(lotto_temp)과 각각의 값을 비교하여 같은 값을 가지면 그 위치값을 index에 저장하도록 하였다..
1. (Poisson Random Variables) Let X ∼ Poisson (α) . Generate 100,000 samples of the Poissonrandom variable X with α = 2 , using the `poissrnd’MATLAB l..