Path: news.mathworks.com!not-for-mail
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$1@newscl01ah.mathworks.com>
References: <ef58601.-1@webcrossing.raydaftYaTP> <ellieandrogerxyzzy-2905071214030001@dialup-4.232.0.71.dial1.losangeles1.level3.net> <jk74li$fdl$1@newscl01ah.mathworks.com> <jk7jhn$907$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1332176771 29636 172.30.248.48 (19 Mar 2012 17:06:11 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 19 Mar 2012 17:06:11 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: news.mathworks.com comp.soft-sys.matlab:761477

Peter Perkins <Peter.Remove.Perkins.This@mathworks.com> wrote in message <jk7jhn$907$1@newscl01ah.mathworks.com>...
> 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