[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rand('state',0)
From: |
Steve C. Thompson |
Subject: |
rand('state',0) |
Date: |
Thu, 13 Oct 2005 12:58:22 -0700 |
User-agent: |
Mutt/1.5.9i |
Group,
I'm collaborating with MATLAB users and they have
rand('state',0) in their code. According to
<http://www.mathworks.com/access/helpdesk/help/techdoc/ref/rand.html>
this is used in MATLAB to ``set rand to its default initial
state''. This command produces an error in Octave, however:
octave:1> rand('state',0)
error: rand: unrecognized string argument
Can someone tell me if by simply commenting out this line of
code will have any side effects?
Thanks in advance.
Steve
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- rand('state',0),
Steve C. Thompson <=