set the state for the random number generator
Afficher commentaires plus anciens
For the function "randn", one can use
randn('state',100);
to set the state.
How about the generator "*poissrnd*"?
2 commentaires
Molalign Adam Bogale
le 21 Mai 2018
how can control random number generated by poissrnd?
Steven Lord
le 21 Mai 2018
Use the rng function.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Random Number Generation 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!