View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

Be the first to rate this file! 8 Downloads (last 30 days) File Size: 1.61 KB File ID: #32978 Version: 1.0
image thumbnail




Generate permutations.

| Watch this File

File Information

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. It replaces FEX 10237. See also uniqueperms FEX # 18918.

MATLAB release MATLAB 7.12 (R2011a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
22 Sep 2011 Bill McKeeman

There was a bug in the earlier version of perms (odd perms were sometimes called even, and vice versa), a fact pointed out by Moritz H├Ąckell. I could not resubmit because I have retired and no longer have permission as the old "me".

Comment only

Contact us