Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: regarding permutation
Date: Sun, 12 Jun 2011 09:25:05 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 22
Message-ID: <it20lh$480$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-04-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1307870705 4352 172.30.248.35 (12 Jun 2011 09:25:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 12 Jun 2011 09:25:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1636294
Xref: news.mathworks.com comp.soft-sys.matlab:731546

Dear matlab experts,
I have a problem regarding permutation.
Assuming that I have 11 building blocks A. to k. (see below), I&#8217;d like to combine them to create a nine-element list, e.g., u	h	d	u	u	h	u	h	d. 


A.	h	d	u
B.	h	d	
C.	h	u	
D.	u	h	d
E.	u	h	d
F.	u	h	u
G.	h	u	
H.	u	h	
I.	d	u	
J.	d		
K.	u		

But, the nine-element list must have two &#8216;d&#8217;, three &#8216;h&#8217; and four &#8216;u&#8217;. 
Can someone help me out on this. Thanks!

Sincerely,
Yihui