Ouputting all the permutations with repeated symbols in MATLAB
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Mason Dyess
el 14 de Ag. de 2019
Comentada: KSSV
el 14 de Ag. de 2019
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 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Discrete Math en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!