Path: news.mathworks.com!not-for-mail
From: "Jack " <jack_sama_1981@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Finding Permutations
Date: Mon, 28 Jun 2010 00:18:05 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 13
Message-ID: <i08pnt$j66$1@fred.mathworks.com>
References: <i08fup$ri0$1@fred.mathworks.com> <i08jh7$er3$1@fred.mathworks.com> <i08kbd$6la$1@fred.mathworks.com>
Reply-To: "Jack " <jack_sama_1981@yahoo.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1277684285 19654 172.30.248.37 (28 Jun 2010 00:18:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 28 Jun 2010 00:18:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2388791
Xref: news.mathworks.com comp.soft-sys.matlab:648512

"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <i08kbd$6la$1@fred.mathworks.com>...
> "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <i08jh7$er3$1@fred.mathworks.com>...
> >   .....  If you want to restrict them so that no two are alike, then there would be 10!/6! = 5040 of them. 
> - - - - - -
>   If it's the second of the above, you will find a function that does this at:
> 
> http://www.mathworks.com/matlabcentral/fileexchange/24325-combinator-combinations-and-permutations
> 
> by Matt Fig
> 
> Roger Stafford

Thanks a lot Roger; this is exactly what I needed.