Difference between Matlab and Octave in random seeding
John W. Eaton
jwe at bevo.che.wisc.edu
Tue Feb 26 04:31:35 CST 2008
On 15-Feb-2008, Mark van Rossum wrote:
| In octave (3.0.0)
| rand ('state', 1); randn
| will always produce the same number. I.e. the seed on rand affects randn as
| well.
|
| In Matlab seeding rand does not seed randn.
Please try the following patch.
Thanks,
jwe
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
Url: https://www.cae.wisc.edu/pipermail/bug-octave/attachments/20080226/929b0c97/attachment.ksh
More information about the Bug-octave
mailing list