About random number generators
이전 댓글 표시
Hi everyboby
I want to create a program on simulink which use a random number box but I have seen that its output is repeated at each step of the simulation. So how can I change the seed of this program to get the good result.
I use actually matlab 2010a, and I tried rng bgut not working.
Thank you.
채택된 답변
추가 답변 (2개)
Dishant Arora
2014년 2월 22일
doc se_randomizeseeds
댓글 수: 3
ahmed abrous
2014년 2월 22일
Dishant Arora
2014년 2월 22일
You need to stop and change the seed before every simulation
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!