Steve on Image Processing

Concepts, algorithms & MATLAB

Friday MATLAB Mystery 4

Posted by Steve Eddins,

Who can tell me the significance of this number: 0.814723686393179
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.

4 CommentsOldest to Newest

Mikhail replied on : 3 of 4

That’s a fairly easy question for anyone who can Google, because the answer comes up in the first result.

A more interesting question is why MathWorks have chosen this number to initialize their pseudo-random number generator?

Add A Comment

What is 9 + 10?

Preview: hide