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.
评论
要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。