making random sparse matrix

8 visualizaciones (últimos 30 días)
JaeSung Choi
JaeSung Choi el 13 de Oct. de 2017
Editada: Andrei Bobrov el 13 de Oct. de 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!

Respuesta aceptada

Andrei Bobrov
Andrei Bobrov el 13 de Oct. de 2017
Editada: Andrei Bobrov el 13 de Oct. de 2017
Use sprand or sprandn.

Más respuestas (0)

Categorías

Más información sobre 희소 행렬 en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!