4.0

4.0 | 1 rating Rate this file 152 downloads (last 30 days) File Size: 345.04 KB File ID: #10237

perms

by Bill McKeeman

 

06 Mar 2006 (Updated 27 May 2009)

Code covered by BSD License  

even, odd, cyclical, unique permutations of a set of vectors

Download Now | Watch this File

File Information
Description

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.

Acknowledgements
This submission has inspired the following:
Polytopes, Tumbling Bucky Ball
MATLAB release MATLAB 7.2 (R2006a)
Zip File Content  
Published M Files N-D Geometrical Figures
Other Files
angles.m,
bill.jpg,
buckytumble.m,
dist.m,
edges.m,
faces.m,
license.txt,
makebucky.m,
ndrotate.m,
nedge.m,
nface.m,
perms.m,
plotpoly.m,
polydemo.m,
polydemo.png,
polydemo_01.png,
polydemo_02.png,
polydemo_03.png,
polydemo_04.png,
polydemo_05.png,
polydemo_06.png,
polydemo_07.png,
polydemo_eq10050874.png,
polydemo_eq14500.png,
polydemo_eq15535.png,
polydemo_eq19202321.png,
polydemo_eq19202373.png,
polydemo_eq4571151.png,
polydemo_eq70307.png,
polydemo_eq91452.png,
polydemo_eq91597603.png,
polydemo_eq92281.png,
polydemo_eq94108.png,
polyhedron.m,
tumble.m,
vertices.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
30 Jan 2009 Rashid Iqbal

Dear

can you please teach me about the dmperm function which calculate the permulation of adajancy matrix.
Please explain this function with example.

Regards,

Rashid

Please login to add a comment or rating.
Updates
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.

26 Feb 2008

clean up HTML doc.

11 Apr 2009

Fix problem with R2009a, follow some MLINT advice

27 May 2009

license change

27 May 2009

fixed botched submission

Tag Activity for this File
Tag Applied By Date/Time
permutation generator Bill McKeeman 22 Oct 2008 08:17:27
even Bill McKeeman 22 Oct 2008 08:17:27
odd Bill McKeeman 22 Oct 2008 08:17:27
cycical Bill McKeeman 22 Oct 2008 08:17:27
unique Bill McKeeman 22 Oct 2008 08:17:27
permutations Bill McKeeman 22 Oct 2008 08:17:27
flag Bill McKeeman 22 Oct 2008 08:17:27
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com