Faster but restricted version of randint. Generate matrix of uniformly distributed random integers. R = randint2(m,n,range) generates an m-by-n matrix of random integers between [range(1), range(2)]. InPUTS m - m rows n - n cols range - range of ints OUTPUTS R - mxn matrix of integers EXAMPLE R = randint2( 2, 5, [0 1] ) DATESTAMP 19-Nov-2005 4:00pm See also RANDINT