help-octave
[Top][All Lists]
Advanced

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

Octave equivalent of Matlab's rand??


From: John W. Eaton
Subject: Octave equivalent of Matlab's rand??
Date: Fri, 13 Nov 2009 11:53:43 -0500

On 13-Nov-2009, Julien Martin wrote:

| 1. I would like to know what is the Octave equivalent of Matlab's "*rand*"
| keyword (look at line 2 and note that there are no parentheses).

It's not a keyword in either Matlab or Octave.  Functions calls with
no arguments may be written without ().  Octave has a rand function,
so I would expect your code to work in both Octave and Matlab.  Did
you try it?

jwe


reply via email to

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