From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to generate different random numbers
Date: Mon, 19 Mar 2012 17:06:11 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 11
Message-ID: <jk7p22$su4$>
References: <ef58601.-1@webcrossing.raydaftYaTP> <> <jk74li$fdl$> <jk7jhn$907$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1332176771 29636 (19 Mar 2012 17:06:11 GMT)
NNTP-Posting-Date: Mon, 19 Mar 2012 17:06:11 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: comp.soft-sys.matlab:761477

Peter Perkins <> wrote in message <jk7jhn$907$>...
> I can't tell how old the original part of this thread is, but since 
> R2011a, the randperm function has a syntax that simplifies this a bit 
> and addressees Roger's concern:
>  >> randperm(10,3)
- - - - - - - - -
  According to my records the original post in this thread was dated 29 May 2007 and my reply was the same day.  (It seems like a life time ago now.)

  I assume from your statement, Peter, that the new R2011a randperm(10,3) only calls on the random number generator three times.  Am I correct?

Roger Stafford