help-octave
[Top][All Lists]
Advanced

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

Re: randn newbie question


From: Paul Kienzle
Subject: Re: randn newbie question
Date: Sun, 6 Feb 2005 11:36:29 -0500

On Feb 5, 2005, at 11:55 AM, Hamish Allan wrote:

Why does:

plot(randn(2,100)', '+')

which looks like this in Matlab:

http://igor.gold.ac.uk/~map01ra/matlab_randn.jpeg

look like this in Octave:

http://igor.gold.ac.uk/~map01ra/octave_randn.jpeg

???

The reason is that I messed up the test for X86 architecture
in randmtzig.c, and you are compiling little endian rather than
big endian architecture.

I've fixed this in CVS.  Before making a new release, I want
to put some distributional tests around the random number
generator code so nothing so egregious happens again.

Please try the attached patch.

- Paul

Attachment: randmt.patch
Description: Binary data


reply via email to

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