[Top][All Lists]

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

[Octave-bug-tracker] [bug #30543] incompatibility for randn

From: David Bateman
Subject: [Octave-bug-tracker] [bug #30543] incompatibility for randn
Date: Sun, 25 Jul 2010 13:00:18 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/2009091010 Iceweasel/3.0.14 (Debian-3.0.14-1)

Update of bug #30543 (project octave):

                  Status:                    None => Wont Fix               
             Open/Closed:                    Open => Closed                 


Follow-up Comment #1:

This is a known issue, but there isn't much that can be done about it without
an extensive effort to reverse engineer the exact method matlab uses to select
their random values. Fortunately there are few cases that you actually need to
have bit accurate random values between matlab and Octave. If you really do
need this, then the only solution is to overload the randn generator in matlab
with one that is compatible with the Octave one.. I send a mex-file
implementation of the rand and randn generators used in Octave a few years
back to the lists and these should still work. You can find them at


So sorry this problem just won't be fixed.



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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