What limitations does MATLAB have in pseudo-random sequence generation ?
Afficher commentaires plus anciens
I am interested in learning about the limitations of the pseudo-random sequences generated by function rand() in terms of statistical independence.
For example if I work with the default rng settings (i.e. Type: 'twister', Seed: 0, State: [625x1 uint32]) and keep calling the function rand(1,1e5) multiple times, will the results eventually repeat ? If yes, then how many function calls are safe to get independent results? Or will the rng change its seed or type automatically to avoid repetitive results?
In the documentation link below it is said that the generated numbers "pass various statistical tests of randomness and independence". I would be very interested in seeing the detailed results of the tests, if possible.
https://www.mathworks.com/help/matlab/math/create-arrays-of-random-numbers.html
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!