making random sparse matrix

9 views (last 30 days)
JaeSung Choi
JaeSung Choi on 13 Oct 2017
Edited: Andrei Bobrov on 13 Oct 2017
i just want to make random sparse matrix of size(100,100). How can I derive this?? Please help me. (I used function 'rand' and 'sparse', but i couldn't derive)
Thanks!

Accepted Answer

Andrei Bobrov
Andrei Bobrov on 13 Oct 2017
Edited: Andrei Bobrov on 13 Oct 2017
Use sprand or sprandn.

More Answers (0)

Categories

Find more on 희소 행렬 in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!