set the state for the random number generator
Show older comments
For the function "randn", one can use
randn('state',100);
to set the state.
How about the generator "*poissrnd*"?
2 Comments
Molalign Adam Bogale
on 21 May 2018
how can control random number generated by poissrnd?
Steven Lord
on 21 May 2018
Use the rng function.
Accepted Answer
More Answers (0)
Categories
Find more on Random Number Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!