Main Content
sprandn
Sparse normally distributed random matrix
Description
creates a
sparse matrix that has the same sparsity pattern as the matrix R
= sprandn(S
)S
, but
with normally distributed random entries with mean 0
and variance
1
.
Examples
Input Arguments
Limitations
sprandn
is designed to produce large matrices with small density and will generate significantly fewer nonzero values than requested ifm*n
is small ordensity
is large.