MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > generate random numbers over interval [0,pi] 

Subject: generate random numbers over interval [0,pi] From: John Wong Date: 24 Feb, 2011 07:30:33 Message: 1 of 6 
The assignment is to " Generate a string of 1000 random numbers delta(n) uniformly distributed over the interval [0, pi]. Build the strings x(n) = cos(delta(n)) and y(n) = sin(delta(n)). 
Subject: generate random numbers over interval [0,pi] From: John Wong Date: 24 Feb, 2011 07:37:04 Message: 2 of 6 
forgot to add my attempt 
Subject: generate random numbers over interval [0,pi] From: John D'Errico Date: 24 Feb, 2011 10:46:19 Message: 3 of 6 
"John Wong" wrote in message <ik51ep$c3e$1@fred.mathworks.com>... 
Subject: generate random numbers over interval [0,pi] From: Steven_Lord Date: 24 Feb, 2011 14:49:17 Message: 4 of 6 

Subject: generate random numbers over interval [0,pi] From: John Wong Date: 24 Feb, 2011 15:36:19 Message: 5 of 6 
> 
Subject: generate random numbers over interval [0,pi] From: Think blue, count two. Date: 24 Feb, 2011 18:42:33 Message: 6 of 6 
On 24/02/11 4:46 AM, John D'Errico wrote: 
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.