MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > generation of random multiset permutation with res... 

Subject: generation of random multiset permutation with restrictions From: Michal Kvasnicka Date: 9 Aug, 2012 11:22:13 Message: 1 of 18 
I am looking for MATLAB algorithm how to effectively generate any random multiset permutations with additional restrictions. 
Subject: generation of random multiset permutation with restrictions From: Bruno Luong Date: 10 Aug, 2012 07:10:25 Message: 2 of 18 
"Michal Kvasnicka" wrote in message <k006h5$9e6$1@newscl01ah.mathworks.com>... 
Subject: generation of random multiset permutation with restrictions From: Michal Kvasnicka Date: 10 Aug, 2012 08:01:12 Message: 3 of 18 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <k02c51$lo6$1@newscl01ah.mathworks.com>... 
Subject: generation of random multiset permutation with restrictions From: Michal Kvasnicka Date: 21 Aug, 2012 08:16:08 Message: 4 of 18 
"Michal Kvasnicka" wrote in message <k02f48$vs$1@newscl01ah.mathworks.com>... 
Subject: generation of random multiset permutation with restrictions From: Bruno Luong Date: 21 Aug, 2012 08:29:07 Message: 5 of 18 
> 
Subject: generation of random multiset permutation with restrictions From: Michal Kvasnicka Date: 21 Aug, 2012 08:54:07 Message: 6 of 18 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <k0vgsi$bfu$1@newscl01ah.mathworks.com>... 
Subject: generation of random multiset permutation with restrictions From: Bruno Luong Date: 21 Aug, 2012 09:03:07 Message: 7 of 18 
This should work for standard array p: 
Subject: generation of random multiset permutation with restrictions From: Michal Kvasnicka Date: 21 Aug, 2012 10:51:08 Message: 8 of 18 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <k0visb$hog$1@newscl01ah.mathworks.com>... 
Subject: generation of random multiset permutation with restrictions From: Bruno Luong Date: 21 Aug, 2012 11:01:07 Message: 9 of 18 
"Michal Kvasnicka" wrote in message <k0vp6r$83h$1@newscl01ah.mathworks.com>... 
Subject: generation of random multiset permutation with restrictions From: Michal Kvasnicka Date: 21 Aug, 2012 11:32:08 Message: 10 of 18 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <k0vppj$9u1$1@newscl01ah.mathworks.com>... 
Subject: generation of random multiset permutation with restrictions From: Bruno Luong Date: 21 Aug, 2012 13:49:10 Message: 11 of 18 
I will change the generate random permutation with restrictio. D will be different than my first post, but the goal of generaion is respected. 
Subject: generation of random multiset permutation with restrictions From: Michal Kvasnicka Date: 23 Aug, 2012 10:22:07 Message: 12 of 18 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <k103kl$g6d$1@newscl01ah.mathworks.com>... 
Subject: generation of random multiset permutation with restrictions From: Michal Kvasnicka Date: 29 Jan, 2013 16:37:08 Message: 13 of 18 
Is possible to modify above mentioned methods to generate complete list of the multiset permutations with restrictions? 
Subject: generation of random multiset permutation with restrictions From: Michal Kvasnicka Date: 30 Jan, 2013 07:30:13 Message: 14 of 18 
"Michal Kvasnicka" wrote in message <ke8trj$mbp$1@newscl01ah.mathworks.com>... 
Subject: generation of random multiset permutation with restrictions From: Bruno Luong Date: 30 Jan, 2013 08:34:08 Message: 15 of 18 
Dynamic programming: 
Subject: generation of random multiset permutation with restrictions From: Michal Kvasnicka Date: 30 Jan, 2013 11:05:08 Message: 16 of 18 
As always, very elegant solution, thanks! 
Subject: generation of random multiset permutation with restrictions From: Bruno Luong Date: 30 Jan, 2013 11:34:08 Message: 17 of 18 
"Michal Kvasnicka" wrote in message <keaup4$i8g$1@newscl01ah.mathworks.com>... 
Subject: generation of random multiset permutation with restrictions From: Michal Kvasnicka Date: 30 Jan, 2013 11:41:06 Message: 18 of 18 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <keb0fg$nm2$1@newscl01ah.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.