Permsnonindentical
Version 1.1.0.0 (1.56 KB) by
David Holdaway
lists all nonidentical permutations of a set of numbers i.e. [1,1,2] go to [1,1,2;1,2,1;2,1,1]
Generates all possible permutations using the inbuilt perms function and uses a siphon to distinguish which ones are the same.
Cite As
David Holdaway (2024). Permsnonindentical (https://www.mathworks.com/matlabcentral/fileexchange/34190-permsnonindentical), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Elementary Math >
- MATLAB > Mathematics > Elementary Math > Discrete Math >
Find more on Elementary Math in Help Center and MATLAB Answers
Tags
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.