Creating a sparse vector

How do I create a random s-sparse vector of some fixed length?

1 个评论

Please describe the randomness, and explain what an "s-sparse" vector is. Maybe give an example.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

产品

版本

R2016a

标签

Community Treasure Hunt

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

Start Hunting!

Translated by