perms

Generate permutations.

You are now following this Submission

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.

Cite As

Bill McKeeman (2026). perms (https://in.mathworks.com/matlabcentral/fileexchange/32978-perms), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2

adapted code to new MATLAB language spec

1.1

adapted to change in MATLAB language spec

1.0.0.0