Matlab code to display the number of trials to find all possible combinations of randperm(4)

Viewed 40

Using perms({1 2 3 4 5]) I have generated all the possible combinations. I would like to print the number of all trials to generate all the possible combinations using randperm(5) and display how many trials needed to generate that.

0 Answers
Related