Random permutation
x = distfun_permrnd ( v ) x = distfun_permrnd ( v , n )
a m-by-1 matrix of doubles, the vector to permute
a 1-by-1 matrix of floating point integers, the number of permutations (default n=1)
a m-by-n matrix of doubles, the random permutations of v
Generates random permutations.