How to convert numeric matrix into sparse matrix
조회 수: 5 (최근 30일)
이전 댓글 표시
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
Adam
2017년 12월 19일
There isn't any value, as such, in creating a sparse matrix from a matrix containing no, or very few, zeros.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!