help-octave
[Top][All Lists]
Advanced

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

any one know about function "randn" in matlab?


From: John W. Eaton
Subject: any one know about function "randn" in matlab?
Date: Thu, 25 Jan 1996 02:18:46 -0600

Chaturapadh Nakavachara <address@hidden> wrote:

: any ony know about function "randn" in matlab?
: this is build in function in matlab so ....
: would you mind to tell  me which function is compat. with this function in
: octave :)

If all you want to do is get a sequence of normally distributed random
numbers, you can set the distribution to be normal using the command

  rand ("normal");

then use rand() to get the sequence.

The next release of Octave will have rand and randn, and the normal
and uniform distributions will have independent generators.

jwe


reply via email to

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