Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: randperm
Date: Sun, 27 Jul 2008 09:04:09 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 11
Message-ID: <g6hdm9$j18$1@fred.mathworks.com>
References: <g6fu97$7ru$1@fred.mathworks.com> <g6g0ia$vp$1@fred.mathworks.com> <g6g1m3$cec$1@fred.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1217149449 19496 172.30.248.35 (27 Jul 2008 09:04:09 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 27 Jul 2008 09:04:09 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:482036



"ching l" <chinglnc@hotmail.com> wrote in message
<g6g1m3$cec$1@fred.mathworks.com>...
> I want to have random number from
> 1 to 6, for six time, and no repeat number.
> 

And what do you get with one call of randperm(6)? Can you
try to describe it in words and see how it fits with what
you wrote above.

Bruno