Creating a sparse vector

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

1 commentaire

James Tursa
James Tursa le 8 Août 2018
Please describe the randomness, and explain what an "s-sparse" vector is. Maybe give an example.

Connectez-vous pour commenter.

Réponses (0)

Catégories

Produits

Version

R2016a

Tags

Question posée :

le 8 Août 2018

Commenté :

le 8 Août 2018

Community Treasure Hunt

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

Start Hunting!

Translated by