how to get factorial combination
Show older comments
a = [ 3 4 2 6 5 1]. I need 6! comibination of 'a'. We know that 6! is 720. From 'a' I need 720 different combinations. How to get this in matlab.
2 Comments
Walter Roberson
on 10 Dec 2013
Is this possibly the same question as http://www.mathworks.co.uk/matlabcentral/answers/109211-how-to-make-factorial or are you wanting to do something different there?
Bathrinath
on 10 Dec 2013
Accepted Answer
More Answers (0)
Categories
Find more on Algorithm Design Basics 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!