help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bad random numbers


From: Gerald Jansen
Subject: Re: bad random numbers
Date: Tue, 13 Jul 1999 16:27:36 -0400

"John W. Eaton" wrote:
> On 13-Jul-1999, Mike Miller <address@hidden> wrote:
> | Note that the resulting matrix always had a very small number in the
> | 1,1 cell.  The value in that cell ranged from .003 to .017 ...
>
> The initial seeds for rand are computed from time().  Not random
> itself, but at least it should be different each time you run Octave.

Perhaps the first random number should be discarded if the seed computed
from time() leads to patterns, like those observed by Mike, on some
systems.

-- 
Gerald Jansen



---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.  To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]