Creating a sparse vector

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

1 Comment

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

Sign in to comment.

Answers (0)

Categories

Products

Release

R2016a

Tags

Asked:

on 8 Aug 2018

Commented:

on 8 Aug 2018

Community Treasure Hunt

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

Start Hunting!