Rank: 7068 based on 0 downloads (last 30 days) and 1 file submitted
photo

Alessandro Colombo

E-mail
Company/University
MIT

Personal Profile:
Professional Interests:
Dynamical Systems, control

 

Watch this Author's files

 

Files Posted by Alessandro
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Apr 2011 NUPerms Next Unique Permutation of an integer vector Author: Alessandro Colombo perms, unique, replicates 0 1
  • 3.0
3.0 | 1 rating
Comments and Ratings on Alessandro's Files
Updated File Comment by Comments Rating
11 Jul 2012 NUPerms Next Unique Permutation of an integer vector Author: Alessandro Colombo Holdaway, David

Can't say I'm convinced this is quicker than just generating all the permutations with perms and post selecting, calling very quick functions recursively in Matlab is not efficient at all really.
If you just want just ONE permutation it is obviously faster and not having to store them in memory is probably nice.

There is one thing I am however confused about, which is why you have made this work only for integers, there is nothing in the logic that would mean it shouldn't work fine for double precision numbers why not let the function use the same class as the input?

Top Tags Applied by Alessandro
perms, replicates, unique
Files Tagged by Alessandro
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Apr 2011 NUPerms Next Unique Permutation of an integer vector Author: Alessandro Colombo perms, unique, replicates 0 1
  • 3.0
3.0 | 1 rating

Contact us