Sparse Matrices
Built-in functions › Mathematics › Sparse Matrices
11 functions in this category.
| Function | What it does |
|---|---|
full | Convert a sparse matrix to full storage. |
issparse | Test whether the input is a sparse matrix. |
nnz | Number of non-zero elements. |
nonzeros | Column vector of non-zero elements. |
nzmax | Storage allocated for non-zero elements. |
spalloc | Allocate space for an m × n sparse matrix. |
sparse | Create a sparse matrix. |
speye | Sparse identity matrix. |
spones | Replace non-zero entries with 1s. |
sprand | Sparse uniform random matrix. |
sprandn | Sparse standard-normal random matrix. |