making random sparse matrix

1 vue (au cours des 30 derniers jours)
JaeSung Choi
JaeSung Choi le 13 Oct 2017
Modifié(e) : Andrei Bobrov le 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!

Réponse acceptée

Andrei Bobrov
Andrei Bobrov le 13 Oct 2017
Modifié(e) : Andrei Bobrov le 13 Oct 2017
Use sprand or sprandn.

Plus de réponses (0)

Catégories

En savoir plus sur 희소 행렬 dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!