Creating a sparse vector

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

1 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Produkte

Version

R2016a

Tags

Gefragt:

am 8 Aug. 2018

Kommentiert:

am 8 Aug. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by