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.
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.