Creating a sparse vector
2 views (last 30 days)
Show older comments
How do I create a random s-sparse vector of some fixed length?
1 Comment
James Tursa
on 8 Aug 2018
Please describe the randomness, and explain what an "s-sparse" vector is. Maybe give an example.
Answers (0)
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!