MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Random spherical troubles


Hello,

Take a look at

http://mathworld.wolfram.com/SpherePointPicking.html

where you'll find the answer to your question.

Yossi Lonke

Geoffrey Steeves wrote:

> I just happened upon this post, but I think I have a similar question.
>
> In studying whether a sequence of numbers is random, one can construct
> what is called a Noise
> Sphere(http://mathworld.wolfram.com/NoiseSphere.html).  When I tried this
> out, I got a non-uniform distibution of points concentrated along
> the verticle axis (phi ~= 0) of the sphere.  Initially I thought that this
> was an artifact of my pseudo-random number generator, but I later tried
> this out with "real" random numbers and got the same distribution.
> Looking at the mapping(as it is shown on the web page):
>
> theta = 2 * Pi * Random[]
>
> phi = Pi * Random[]
>
> r = Sqrt[Random[]]
>
> I thought that the problem was with the distribution in phi.  Is this a
> mistake in the map?  Or am I misunderstanding the what a Noise spehere is
> supposed to be?  Thanks for the help!
>
> --
> _______________________________________________________________________________
>              Geoff Steeves // University of Alberta Physics //
>
>                         http://www.ualberta.ca/~gsteeves
> -------------------------------------------------------------------------------

--
*************************************************
Dr. Yossi Lonke
Mathematics Department
Case Western Reserve University
10900 Euclid Avenue
Cleveland, Ohio 44106
216 368-5423
http://www.cwru.edu/artsci/math/lonke/home.html
*************************************************




  • Prev by Date: Re: Newbie question
  • Next by Date: Re: Service multiple mathlinks
  • Previous by thread: Re: Re: Random spherical troubles
  • Next by thread: Re: Random spherical troubles