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.
The version of perms has a bug. It sometimes gives the even permutations instead of the odd permutations and vice versa. It has been corrected and reissued as FX32978. This version, FX10237 should soon be deleted.
can you please teach me about the dmperm function which calculate the permulation of adajancy matrix.
Please explain this function with example.
08 Mar 2006
Clean up HTML documentation
17 Mar 2006
clean up Mlint messages
26 Feb 2008
The MATLAB perms turns an N-D matrix into a vector before generating permutations. This perms accepts a matrix of input vectors. I added a comment. Also FEX uniqueperms #18918 is faster and less demanding of memory for the cases it handles.