making random sparse matrix

6 次查看(过去 30 天)
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!

采纳的回答

Andrei Bobrov
Andrei Bobrov 2017-10-13
编辑:Andrei Bobrov 2017-10-13
Use sprand or sprandn.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 희소 행렬 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!