help-octave
[Top][All Lists]
Advanced

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

Re: randn newbie question


From: Hamish Allan
Subject: Re: randn newbie question
Date: Sun, 6 Feb 2005 19:32:38 +0000

Thank you to everyone who replied. Removing the octave-forge version of randn() worked, as did reinstating it after applying Paul's patch.

Cheers,
Hamish

On Feb 6, 2005, at 16:36, Paul Kienzle wrote:

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]