[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RAND syntax
From: |
Eyal Doron |
Subject: |
RAND syntax |
Date: |
Thu, 20 Jul 1995 10:49:15 +0100 (MET DST) |
Hi John,
I noticed that the syntax of "rand" seems to be out of date. It is the
old syntax of Matlab 3.5, rather than the new syntax of Matlab 4.x,
and indeed of the rest of Octave. Thus,
octave:6> ones([2 2])
ans =
1 1
1 1
octave:7> rand([2,2])
ans =
-1.83413 -0.83267
(its on "normal"), so that "rand(size(A))" does not work as expected.
I suggest this be fixed. Also, I suggest adding a "randn" function, to
enhance Matlab 4.x compatibility.
Eyal Doron
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RAND syntax,
Eyal Doron <=