help-octave
[Top][All Lists]
Advanced

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

documentation question: rand


From: John W. Eaton
Subject: documentation question: rand
Date: Tue, 24 Feb 1998 22:20:30 -0600

On 24-Feb-1998, Thomas Hoffmann <address@hidden> wrote:

| The (internal) function rand (info says: LOADABLE function) has two
| options called
| "normal" and "uniform" which I did not find in the docs.

You should use the rand function for uniform distributions, and the
randn function for normal distributions.  The "normal" and "uniform"
options are for compatibility with older versions of Matlab (3.5 and
before, I think) that didn't have a randn function.

jwe



reply via email to

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