Function Reference
— Function File: unifrnd (a, b, r, c)
— Function File: unifrnd (a, b, sz)

Return an r by c or a size (sz) matrix of random samples from the uniform distribution on [a, b]. Both a and b must be scalar or of size r by c.

If r and c are omitted, the size of the result matrix is the common size of a and b.