image thumbnail

updated almost 4 years ago

Shuffle by Jan Simon

Random permutation of array elements, C-Mex: much faster than RANDPERM (statistics, vector, mix)

Shuffle(Arg1, Arg2, Arg3)

uTest_Shuffle(doSpeed, doBias)

image thumbnail

updated almost 4 years ago

RANDPERMFULL (derangement) by Jos (10584)

RANDPERMFULL (N) returns a random derangement (complete permutation) of the integers from 1 to N (permutation, derangement, random)

randpermfull(N)

image thumbnail

updated 4 years ago

RANDSUBSET by Bruno Luong

Return a random subset of k elements of the set of n elements (randperm, subset, random)

randsubset(v, k)

randsubset_install

randsubset_matlab(v, k)

image thumbnail

updated 6 years ago

randpermquick by Joachim Selke

A quick alternative to MATLAB's randperm. (statistics, probability, randperm)

randpermquick(n)

image thumbnail

updated 9 years ago

randperms by Po Hu

A modified version of randperm, users have more choice to the returned value. (strings, rand, random)

Contact us