matlab做排列组合:比如要ABCD的全排列(permutation),可以用perms函数perms(['ABC']) 运行结果CBACABBCABACABCACB >>perms([123]) ans= 3 2 1 3 1 2 2 &...