Creating a sparse vector

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

1 件のコメント

James Tursa
James Tursa 2018 年 8 月 8 日
Please describe the randomness, and explain what an "s-sparse" vector is. Maybe give an example.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

製品

リリース

R2016a

タグ

質問済み:

2018 年 8 月 8 日

コメント済み:

2018 年 8 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by