RANDPERM

 

 Random permutation vector.

  RANDPERM(n) is a random permutation of the integers from 1 to n.

  For example, RANDPERM(6) might be [2 4 5 6 1 3].

 

 

  Note that RANDPERM calls RAND1DJZCU2 and therefore changes RAND1DJZCU2's

  seed value.