Ouputting all the permutations with repeated symbols in MATLAB
1 view (last 30 days)
Show older comments
Hi, so I have a problem that's very similar to the classic "Mississippi" permutations problem. That is, "How many different linear arrangements of the letters from the word, 'Mississippi' are there?" I know how to do the actual calculation to find this, you would just do the 11!/(2!*4!*4!*1!) = 34,650. My question is, is there a way where you could have MATLAB generate all of these 34,650 possible arrangements, not just calculate the number 34,650?
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Discrete Math in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!