sprandn
Sparse standard-normal random matrix.
Syntax
Section titled “Syntax”S = sprandn(m, n, density)S = sprandn(m, n, density, rc)S = sprandn(A)Description
Section titled “Description”Same shape conventions as sprand, but draws non-zero entries from the standard normal distribution N(0, 1) instead of uniform.
Example
Section titled “Example”sprandn(50, 50, 0.1) % 50×50 sparse, ~250 N(0,1) entries