RANDINT Randomly generated integral matrix randint(m,n) returns an m-by-n matrix with entries between 0 and 9. randint(m,n,a,b) returns entries between a and b.