[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
randmt.patch
Description: Binary data
- randn newbie question, Hamish Allan, 2005/02/05
- Re: randn newbie question, Paul Laub, 2005/02/05
- Re: randn newbie question, Mike Miller, 2005/02/05
- Re: randn newbie question, Dmitri A. Sergatskov, 2005/02/05
- Re: randn newbie question, Dmitri A. Sergatskov, 2005/02/05
- Re: randn newbie question,
Paul Kienzle <=
- Re: randn newbie question, Henry F. Mollet, 2005/02/06