The randommatrix command generates an m by n matrix of random integers x with 0 <= x < z. If a fourth argument p is given, it is the probability that an integer is generated.
random(3,3,10); [[2, 5, 9], [6, 4, 1], [8, 3, 2]]