generating the list of permutations
8 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
更多回答(2 个)
Matt Fig
2011-3-24
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')
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Google 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!