MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Generating random numbers on unit sphere 

Subject: Generating random numbers on unit sphere From: kanika Date: 26 Jun, 2007 15:48:25 Message: 1 of 31 
Hi everyone, 
Subject: Generating random numbers on unit sphere From: Per S Date: 26 Jun, 2007 12:21:03 Message: 2 of 31 
kanika wrote: 
Subject: Generating random numbers on unit sphere From: Peter Boettcher Date: 26 Jun, 2007 12:49:21 Message: 3 of 31 
kanika <kanika.dhyani@gmail.com> writes: 
Subject: Generating random numbers on unit sphere From: ellieandrogerxyzzy@mindspring.com.invalid (Roger Stafford) Date: 26 Jun, 2007 20:30:27 Message: 4 of 31 
In article <ef5bc41.0@webcrossing.raydaftYaTP>, "Per S" 
Subject: Generating random numbers on unit sphere From: kanika Date: 27 Jun, 2007 08:53:22 Message: 5 of 31 
Thank you Per , Peter and Roger for the suggestions... 
Subject: Generating random numbers on unit sphere From: John D'Errico Date: 27 Jun, 2007 06:21:22 Message: 6 of 31 
kanika wrote: 
Subject: Generating random numbers on unit sphere From: ellieandrogerxyzzy@mindspring.com.invalid (Roger Stafford) Date: 27 Jun, 2007 11:16:36 Message: 7 of 31 
In article <1182934402.356198.245770@k79g2000hse.googlegroups.com>, kanika 
Subject: Generating random numbers on unit sphere From: kanika Date: 27 Jun, 2007 15:27:17 Message: 8 of 31 

Subject: Generating random numbers on unit sphere From: Per S Date: 27 Jun, 2007 11:48:41 Message: 9 of 31 
Roger Stafford wrote: 
Subject: Generating random numbers on unit sphere From: Per S Date: 27 Jun, 2007 12:02:44 Message: 10 of 31 
Per S wrote: 
Subject: Generating random numbers on unit sphere From: aklassyguy@hotmail.com Date: 1 Jul, 2007 08:00:02 Message: 11 of 31 
On Tue, 26 Jun 2007 15:48:25 0000, kanika <kanika.dhyani@gmail.com> 
Subject: Generating random numbers on unit sphere From: John D'Errico Date: 1 Jul, 2007 04:50:19 Message: 12 of 31 
aklassyguy wrote: 
Subject: Generating random numbers on unit sphere From: ellieandrogerxyzzy@mindspring.com.invalid (Roger Stafford) Date: 1 Jul, 2007 09:32:31 Message: 13 of 31 
In article <qgne83dt3ngurbu5svhsrr3bu5v7hook81@4ax.com>, 
Subject: Generating random numbers on unit sphere From: James Tursa Date: 1 Jul, 2007 19:51:10 Message: 14 of 31 
On Sun, 1 Jul 2007 04:50:19 0400, "John D'Errico" 
Subject: Generating random numbers on unit sphere From: Jeffrey Erlich Date: 1 Jul, 2007 16:09:52 Message: 15 of 31 
This may be naive, but instead of generating n random numbers and 
Subject: Generating random numbers on unit sphere From: ellieandrogerxyzzy@mindspring.com.invalid (Roger Stafford) Date: 1 Jul, 2007 22:24:59 Message: 16 of 31 
In article <ef5bc41.13@webcrossing.raydaftYaTP>, "Jeffrey Erlich" 
Subject: Generating random numbers on unit sphere From: John D'Errico Date: 1 Jul, 2007 22:04:08 Message: 17 of 31 
Jeffrey Erlich wrote: 
Subject: Generating random numbers on unit sphere From: ellieandrogerxyzzy@mindspring.com.invalid (Roger Stafford) Date: 2 Jul, 2007 03:54:20 Message: 18 of 31 
In article <ef5bc41.15@webcrossing.raydaftYaTP>, "John D'Errico" 
Subject: Generating random numbers on unit sphere From: John D'Errico Date: 2 Jul, 2007 05:45:28 Message: 19 of 31 
Roger Stafford wrote: 
Subject: Generating random numbers on unit sphere From: dave Date: 2 Jul, 2007 05:57:50 Message: 20 of 31 
What about setting a vector radius of 1 and calculating n1 random 
Subject: Generating random numbers on unit sphere From: Per S Date: 2 Jul, 2007 09:58:43 Message: 21 of 31 
dave wrote: 
Subject: Generating random numbers on unit sphere From: dave Date: 2 Jul, 2007 10:22:00 Message: 22 of 31 
Per S wrote: 
Subject: Generating random numbers on unit sphere From: Jeffrey Erlich Date: 2 Jul, 2007 21:06:35 Message: 23 of 31 
As several people have pointed out, the equation I described was not 
Subject: Generating random numbers on unit sphere From: Bernie Schattka Date: 31 Jul, 2007 05:28:02 Message: 24 of 31 
kanika <kanika.dhyani@gmail.com> wrote in message <1182872905.154561.195950@o61g2000hsh.googlegroups.com>... 
Subject: Generating random numbers on unit sphere From: Bernie Schattka Date: 31 Jul, 2007 05:28:25 Message: 25 of 31 
kanika <kanika.dhyani@gmail.com> wrote in message <1182872905.154561.195950@o61g2000hsh.googlegroups.com>... 
Subject: Generating random numbers on unit sphere From: Tom Bryan Date: 31 Jul, 2007 08:16:33 Message: 26 of 31 
kanika wrote: 
Subject: Generating random numbers on unit sphere From: John D'Errico Date: 31 Jul, 2007 12:25:26 Message: 27 of 31 
"Bernie Schattka" <bernie.schattka@mathworks.com> wrote in message <f8mh9p$ag2$1@fred.mathworks.com>... 
Subject: Generating random numbers on unit sphere From: roberson@ibd.nrccnrc.gc.ca (Walter Roberson) Date: 31 Jul, 2007 17:22:33 Message: 28 of 31 
In article <f8n9nl$3vc$1@fred.mathworks.com>, 
Subject: Generating random numbers on unit sphere From: ellieandrogerxyzzy@mindspring.com.invalid (Roger Stafford) Date: 31 Jul, 2007 17:34:37 Message: 29 of 31 
In article <f8mh9p$ag2$1@fred.mathworks.com>, "Bernie Schattka" 
Subject: Generating random numbers on unit sphere From: ellieandrogerxyzzy@mindspring.com.invalid (Roger Stafford) Date: 31 Jul, 2007 18:34:45 Message: 30 of 31 
In article <f8nr4p$gcf$1@canopus.cc.umanitoba.ca>, 
Subject: Generating random numbers on unit sphere From: Richard Willey Date: 31 Jul, 2007 15:17:04 Message: 31 of 31 
For what its worth, Cleve Moler's textbook on numerical computing has an 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.