Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: random generator seed
Posted:
Jan 25, 2013 5:11 PM


Ok, so rng('default') is not equivalent of setting the seed to zero; but the real question is does rng('default') serve the purpose? If I use rnd('state',0), I'll get the message that this syntax is no longer recommended; use rng function instead. So, the question is that if I put rng('default') in my script, then in all of my MATLAB applications regardless of their version (not older than 2010 but may be of different versions and are running on different machines) can I be certain that all random numbers generated will be the same?
Elnaz



