MATLAB: How to write sparse matrix

aparse matrix

Dear All,
How to write sparse matrix as a small matrix in one page, I have 100×100 matrix and need to write the output in one page so i can read the matrix easily.
regards,
Imola

Best Answer

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.