How to convert numeric matrix into sparse matrix
3 views (last 30 days)
Show older comments
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 Comment
Adam
on 19 Dec 2017
There isn't any value, as such, in creating a sparse matrix from a matrix containing no, or very few, zeros.
See Also
Categories
Find more on Sparse 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!