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
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