generating the list of permutations
Mostrar comentarios más antiguos
I have an array of numbers stored in k ,say k=1:4.I want the list of all permutations from the array (i.e) 1234,1243,and so on..I want the entire list and not just the number of permutations possible..Thanks in advance for any help
Respuesta aceptada
Más respuestas (2)
Matt Fig
el 24 de Mzo. de 2011
For future reference, the first thing you should do when you have a question like this is to search the documentation. At the command line, type this:
docsearch('permutations')
1 comentario
Andrew Newell
el 24 de Mzo. de 2011
Or Google 'Matlab permutations'.
Anand Anand
el 25 de Mzo. de 2011
0 votos
Categorías
Más información sobre Google en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!