Mathematics Previous page   Next Page

Viewing Sparse Matrices Graphically

It is often useful to use a graphical format to view the distribution of the nonzero elements within a sparse matrix. The MATLAB spy function produces a template view of the sparsity structure, where each point on the graph represents the location of a nonzero array element.

For example,


Previous page  Viewing Sparse Matrices The find Function and Sparse Matrices Next page

© 1994-2005 The MathWorks, Inc.