perms
Generate permutations of a set of vectors under flag control. The flags are 'all' (n factorial), even', 'odd', 'cycles', 'signs'. Combinations can be used. The flag 'unique' will remove duplicate entries. This file is a compatible extension of MATLAB perms(vec) where vec is a row vector. See also uniqueperms FEX # 18918.
Cite As
Bill McKeeman (2024). perms (https://www.mathworks.com/matlabcentral/fileexchange/10237-perms), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Tumbling Bucky Ball, Polytopes, Hyperbolic Polynomial Toolbox (HPT)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.