MAT C=#SAMPLE(A,m,<SRS|URS>,<rand>) makes a random sample of size m from rows of matrix A using random number generator <rand>. The sample is saved as a matrix file C. By SRS a Simple Random Sample (i.e. without replacement) and by URS a Unrestricted Random Sample (i.e. with replacement) is generated. MAT C=#SAMPLE(A,m,n,<SRS|URS>,<rand>) works similarly but makes n samples of size m from rows of A as a matrix C with m*n rows. See also MAT #SAMPLES and MAT #JACKKNIFE A = More about additional MAT #operations M = More about MAT operations