set the state for the random number generator
Ältere Kommentare anzeigen
For the function "randn", one can use
randn('state',100);
to set the state.
How about the generator "*poissrnd*"?
2 Kommentare
Molalign Adam Bogale
am 21 Mai 2018
how can control random number generated by poissrnd?
Steven Lord
am 21 Mai 2018
Use the rng function.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Univariate Discrete Distributions 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!