The randmatrix or ranm or randMat command produces random vectors and matrices. (See also Section 11.1.28 and Section 19.3.5.)