MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Generate random numbers from a particular function 

Subject: Generate random numbers from a particular function From: Gonzalo Date: 31 May, 2010 22:10:19 Message: 1 of 10 
Hi all, 
Subject: Generate random numbers from a particular function From: Walter Roberson Date: 31 May, 2010 23:33:17 Message: 2 of 10 
Gonzalo wrote: 
Subject: Generate random numbers from a particular function From: Gonzalo Date: 1 Jun, 2010 00:19:05 Message: 3 of 10 
Thanks Walter, 
Subject: Generate random numbers from a particular function From: Roger Stafford Date: 1 Jun, 2010 00:44:04 Message: 4 of 10 
"Gonzalo " <glpita@gmail.com> wrote in message <hu1c4b$5t7$1@fred.mathworks.com>... 
Subject: Generate random numbers from a particular function From: Gonzalo Date: 1 Jun, 2010 01:33:04 Message: 5 of 10 
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <hu1l4k$ob7$1@fred.mathworks.com>... 
Subject: Generate random numbers from a particular function From: Roger Stafford Date: 1 Jun, 2010 04:36:03 Message: 6 of 10 
"Gonzalo " <glpita@gmail.com> wrote in message <hu1o0g$44h$1@fred.mathworks.com>... 
Subject: Generate random numbers from a particular function From: Gonzalo Date: 1 Jun, 2010 05:37:04 Message: 7 of 10 
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <hu22nj$jv4$1@fred.mathworks.com>... 
Subject: Generate random numbers from a particular function From: Roger Stafford Date: 1 Jun, 2010 09:27:03 Message: 8 of 10 
"Gonzalo " <glpita@gmail.com> wrote in message <hu26a0$hpf$1@fred.mathworks.com>... 
Subject: Generate random numbers from a particular function From: Roger Stafford Date: 2 Jun, 2010 08:27:14 Message: 9 of 10 
I finally got around to working out the details of the cumulative distribution function for your density function f(x). As you recall, your normalized density function was this: 
Subject: Generate random numbers from a particular function From: Gonzalo Date: 2 Jun, 2010 11:26:04 Message: 10 of 10 
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <hu54l2$qhd$1@fred.mathworks.com>... 
No tags are associated with this thread.
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.