Skip to content

sprandn

sparse · scripts/sparse/sprandn.m

R = sprandn (m, n, density)
R = sprandn (m, n, density, rc)
R = sprandn (S)

Random sparse matrix with standard normal entries; the arguments have
the same meaning as for sprand.