MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > How to generate different random numbers 

Subject: How to generate different random numbers From: yunzhi cheng Date: 29 May, 2007 10:52:28 Message: 1 of 16 
I have to generate three diffrent random integars between 1 and n. 
Subject: How to generate different random numbers From: us Date: 29 May, 2007 11:00:47 Message: 2 of 16 
yunzhi cheng: 
Subject: How to generate different random numbers From: ellieandrogerxyzzy@m... Date: 29 May, 2007 19:14:03 Message: 3 of 16 
In article <ef58601.1@webcrossing.raydaftYaTP>, "yunzhi cheng" 
Subject: How to generate different random numbers From: Paul Mennen Date: 30 May, 2007 03:57:08 Message: 4 of 16 
> I have to generate three diffrent random integars between 
Subject: How to generate different random numbers From: Peter Bone Date: 30 May, 2007 04:36:38 Message: 5 of 16 
Paul Mennen wrote: 
Subject: How to generate different random numbers From: Cristina Date: 1 Jun, 2007 14:08:25 Message: 6 of 16 
This doesn't address the exact desire for the random number 
Subject: How to generate different random numbers From: Jos Date: 1 Jun, 2007 14:48:13 Message: 7 of 16 
Cristina wrote: 
Subject: How to generate different random numbers From: Joseph Date: 1 Jun, 2007 15:17:08 Message: 8 of 16 
It's nice to see someone from Brownsville posting on this. However, 
Subject: How to generate different random numbers From: Cristina Date: 2 Jun, 2007 16:52:15 Message: 9 of 16 
Hi Joseph, 
Subject: How to generate different random numbers From: Joseph Date: 3 Jun, 2007 11:19:18 Message: 10 of 16 
Cristina, 
Subject: How to generate different random numbers From: Mohammad Rawashdeh Date: 24 Jan, 2010 23:02:02 Message: 11 of 16 
"yunzhi cheng" <sjtu_yh@yahoo.com> wrote in message <ef58601.1@webcrossing.raydaftYaTP>... 
Subject: How to generate different random numbers From: Rodrigo Date: 19 Mar, 2012 11:18:10 Message: 12 of 16 
The 'randperm' solution worked like a charm... Thanks! 
Subject: How to generate different random numbers From: Peter Perkins Date: 19 Mar, 2012 15:32:07 Message: 13 of 16 
I can't tell how old the original part of this thread is, but since 
Subject: How to generate different random numbers From: Roger Stafford Date: 19 Mar, 2012 17:06:11 Message: 14 of 16 
Peter Perkins <Peter.Remove.Perkins.This@mathworks.com> wrote in message <jk7jhn$907$1@newscl01ah.mathworks.com>... 
Subject: How to generate different random numbers From: Peter Perkins Date: 19 Mar, 2012 19:50:24 Message: 15 of 16 
On 3/19/2012 1:06 PM, Roger Stafford wrote: 
Subject: How to generate different random numbers From: Khalid Date: 19 May, 2014 01:32:07 Message: 16 of 16 
nice... its working... 
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.