Welcome! Log In Create A New Profile

Advanced

Do not run rng('shuffle') in the timing script

Posted by Jaewon 
Do not run rng('shuffle') in the timing script
March 16, 2021 04:56PM
Do not re-seed MATLAB's random number generator in the timing script. NIMH ML already does it on startup. Re-seeding regularly in your timing script does not make generated numbers any more random and may just disrupt their distribution.

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.