[iv, jv, vv, m, n, nzmax] = IJV(sp)
| Parameter | Description |
|---|---|
| sp | a sparse matrix. |
| Parameter | Description |
|---|---|
| iv | a vector: row indices of the nonzero elements. |
| jv | a vector: column indices of the nonzero elements. |
| vv | a vector: values of the nonzero elements. |
| m | an integer value: number of rows in the matrix. |
| n | an integer value: number of columns in the matrix. |
| nzmax | an integer value: reserved size for nonzero elements.. |
IJV converts a sparse matrix into its COO format.
sp = sparse(eye(3,3))
[IV, JV, VV, m, n, nzmax] = IJV(sp)
| Version | Description |
|---|---|
| 1.0.0 | initial version |