What I\'m trying to accomplish is the following:
I wish to create a vector of integers, from a relatively small range, and ensure that none of the integers will be f
you can use the following code for generate Non Repeating Random Numbers from 1 to M
randperm(M);
and for K Non Repeating Random Numbers from 1 to M
randperm(M, K);
enjoy