Effacer les filtres
Effacer les filtres

How to convert numeric matrix into sparse matrix

5 vues (au cours des 30 derniers jours)
bavani marimuthu
bavani marimuthu le 19 Déc 2017
Commenté : Jan le 19 Déc 2017
I have a numeric matrix which the charcter
str =
Hello
a =
72 101 108 108 111 32
a = double(str)
Now i want to convert this numeric matrix into sparse matrix. Kindly help
  1 commentaire
Adam
Adam le 19 Déc 2017
There isn't any value, as such, in creating a sparse matrix from a matrix containing no, or very few, zeros.

Connectez-vous pour commenter.

Réponses (1)

Birdman
Birdman le 19 Déc 2017
  1 commentaire
Jan
Jan le 19 Déc 2017
+1. :-)
@bavani: If you have a question about a certain feature, start with searching for it:
docsearch sparse
If this does not help, search in the internet. If there are still open questions, the forum is a good idea.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Sparse Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by