Is it possible to parallelize permpos?
Show older comments
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?
Accepted Answer
More Answers (1)
Walter Roberson
on 24 Jul 2012
0 votes
It appears to me that permpos(16,32) would be getting pretty close to the point of filling 32 bits worth of address space (4 Gb). How big do you need to go, and what are you going to do with the output when you get it? Are you using a 64 bit version of MATLAB ?
3 Comments
Jenn Lee
on 24 Jul 2012
Walter Roberson
on 24 Jul 2012
And generating all of them at once is an efficient algorithm??
Anyhow you did not answer about what size you wanted to go to?
Jenn Lee
on 24 Jul 2012
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!