how to write sparse matrix
1 view (last 30 days)
Show older comments
Dear All,
How to write sparse matrix as a small matrix in one page, I have 100x100 matrix and need to write the output in one page so i can read the matrix easily.
regards,
Imola
0 Comments
Accepted Answer
Walter Roberson
on 4 Jun 2015
disp() the matrix, or find() on the matrix; see http://www.mathworks.com/help/matlab/math/accessing-sparse-matrices.html
or if you are looking for a graphic output, perhaps spy() the matrix.
4 Comments
More Answers (0)
See Also
Categories
Find more on Logical 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!