About random number generators
Show older comments
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.
Accepted Answer
More Answers (2)
Dishant Arora
on 22 Feb 2014
doc se_randomizeseeds
3 Comments
ahmed abrous
on 22 Feb 2014
Dishant Arora
on 22 Feb 2014
You need to stop and change the seed before every simulation
ahmed abrous
on 25 Feb 2014
0 votes
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!