Friday MATLAB Mystery
Update: 29-Aug-2016 Sven and Sam are correct. This the first number returned by the rand function in a given session, assuming no other calls to related random number functions (such as randn) have been made. For more information about this number and about random number generation in general, see Chapter 9 of Cleve Moler's book Numerical Computing with MATLAB. Mikhail, the initial state used by MATLAB is the same initial state used in genrand_int32 in the reference implementation.
- Category:
- Friday MATLAB Mystery
Comments
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.