set the state for the random number generator
Mostrar comentarios más antiguos
For the function "randn", one can use
randn('state',100);
to set the state.
How about the generator "*poissrnd*"?
2 comentarios
Molalign Adam Bogale
el 21 de Mayo de 2018
how can control random number generated by poissrnd?
Steven Lord
el 21 de Mayo de 2018
Use the rng function.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Random Number Generation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!