| |
| | Creating a sparse matrix |
 | | The most common type of sparse matrix is a banded matrix, that is, a matrix with a few nonzero diagonals. |
 | | In Matlab's indexing scheme, the nonzero diagonals of A are numbers -3, -1, 0, 1, and 3 (the main diagonal is number 0, the first subdiagonal is number -1, the first superdiagonal is number 1, and so forth). |
 | | matrix containing the nonzero diagonals of A. Of course, the diagonals, regarded as column vectors, have different lengths; only the main diagonal has length 9. |
| www.math.mtu.edu /~msgocken/intro/node18.html (396 words) |
|