[Top][All Lists]

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


From: Steve C. Thompson
Subject: rand('state',0)
Date: Thu, 13 Oct 2005 12:58:22 -0700
User-agent: Mutt/1.5.9i


I'm collaborating with MATLAB users and they have
rand('state',0) in their code.  According to 
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.


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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