I found this code on file exchange: http://www.mathworks.com/matlabcentral/fileexchange/11216-permpos
And it does exactly what I want. However, it stalls about when permpos(16,32) is there a way to parallelize this so that it will run faster?
parallelparallelizepermpospermutations
Best Answer