Sparse uniformly distributed random matrix
creates a
sparse matrix that has the same sparsity pattern as the matrix R
= sprand(S
)S
, but
with uniformly distributed random entries.
sprand
is designed to produce large matrices with small density and
will generate significantly fewer nonzero values than requested if m*n
is small or density
is large.