help-octave
[Top][All Lists]
Advanced

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

Re: randn newbie question


From: Paul Laub
Subject: Re: randn newbie question
Date: Sat, 5 Feb 2005 09:26:04 -0800

Hamish, 

Obviously something is wrong. 

The same command on Octave 2.1.57 for Cygwin / Windows
produces a plot that looks like the Matlab one. 

Have you looked at the numbers directly? Have you
computed the mean, variance, and higher moments of
randn() output to see if they are close to theoretical
values? (That way gnuplot could be ruled out as the
source of the problem.) What does rand() output look
like? Broken too? What randn() algorithm do you use?
>> help randn   should be informative. 

Without more detail, there is not much anyone can do to
address the problem. 

Paul Laub 



On Sat, 5 Feb 2005 16:55:11 +0000, Hamish Allan <address@hidden> wrote:
> Hello all,
> 
> 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
> 
> ???
> 
> Thanks,
> Hamish
> [GNU Octave, version 2.1.64 (powerpc-apple-darwin).]
> 
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
> 
> Octave's home on the web:  http://www.octave.org
> How to fund new projects:  http://www.octave.org/funding.html
> Subscription information:  http://www.octave.org/archive.html
> -------------------------------------------------------------
> 
>



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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