set the state for the random number generator
이전 댓글 표시
For the function "randn", one can use
randn('state',100);
to set the state.
How about the generator "*poissrnd*"?
댓글 수: 2
Molalign Adam Bogale
2018년 5월 21일
how can control random number generated by poissrnd?
Steven Lord
2018년 5월 21일
Use the rng function.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Univariate Discrete Distributions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!