Command Reference : Matrix Language Reference
Syntax: @permute(m1)
Input: matrix m1
Return: matrix
This function returns a matrix whose rows are randomly drawn without replacement from rows of the input matrix m1. The output matrix has the same size as the input matrix.
matrix xp = @permute(x)
To draw with replacement from rows of a matrix, use @resample.
See also @capplyranks and @rapplyranks.