powered by
A wrapper for the sample function.
sample
randperm(num)
Either a vector of one or more elements from which to choose, or a positive integer.
See sample
Other MATLAB: cell, diag_matlab, feval, fileparts, isempty, isfield, ones, randn, rand, size, tic, toc, zeros
cell
diag_matlab
feval
fileparts
isempty
isfield
ones
randn
rand
size
tic
toc
zeros
# NOT RUN { randperm(c(2,3,4,5,6)) randperm(10) # }
Run the code above in your browser using DataLab