About random number generators
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (2)
Dishant Arora
le 22 Fév 2014
doc se_randomizeseeds
3 commentaires
ahmed abrous
le 22 Fév 2014
Dishant Arora
le 22 Fév 2014
You need to stop and change the seed before every simulation
ahmed abrous
le 25 Fév 2014
0 votes
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!