About random number generators
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (2)
Dishant Arora
am 22 Feb. 2014
doc se_randomizeseeds
3 Kommentare
ahmed abrous
am 22 Feb. 2014
Dishant Arora
am 22 Feb. 2014
You need to stop and change the seed before every simulation
ahmed abrous
am 25 Feb. 2014
0 Stimmen
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!