how to get factorial combination

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

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?
No sir, there i have given some conditions, but here no conditions are given

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!