Mathematics > Sparse Matrices

40 functions in MATLAB › Mathematics > Sparse Matrices.

bicgSolves a square linear system with the biconjugate gradients method.
bicgstabSolves a square linear system with the stabilized biconjugate gradients method.
bicgstablSolves a square linear system with the BiCGStab(l) method.
cgsSolves a square linear system with the conjugate gradients squared method.
colpermColumn permutation that orders the columns by their number of nonzeros.
etreeElimination tree of a sparse symmetric matrix.
etreeplotPlots the elimination tree of a sparse matrix.
fullConverts a sparse matrix to ordinary full storage.
gmresSolves a square linear system with the generalized minimal residual method.
gplotDraws a graph from its adjacency matrix and node coordinates.
icholIncomplete Cholesky factorization of a sparse symmetric positive definite matrix.
iluIncomplete LU factorization of a sparse matrix.
lsqrSolves a least-squares or linear system iteratively.
minresSolves a symmetric linear system with the minimum residual method.
nnzNumber of nonzero elements.
nonzerosColumn vector with the nonzero elements of an array.
nzmaxAmount of storage allocated for nonzero elements.
pcgSolves a symmetric positive definite linear system with preconditioned conjugate gradients.
qmrSolves a square linear system with the quasi-minimal residual method.
spallocCreates an empty sparse matrix with room reserved for nonzeros.
sparseCreates a sparse matrix, or converts a full matrix to sparse form.
spaugmentAugmented matrix of the least-squares problem for a sparse matrix.
spconvertConverts a list of (row, column, value) entries to a sparse matrix.
spdiagsExtracts diagonals from a matrix, or builds a matrix from diagonals.
speyeSparse identity matrix.
spfunApplies a function to the nonzero elements of a sparse matrix.
sponesReplaces the nonzero elements of a matrix by ones.
spparmsSets or reads parameters of the sparse matrix routines.
sprandSparse matrix with random entries uniformly distributed between 0 and 1.
sprandnSparse matrix with normally distributed random entries.
sprandsymSparse symmetric random matrix.
sprankStructural rank of a sparse matrix.
spyVisualizes the sparsity pattern of a matrix.
symbfactSymbolic factorization analysis of a sparse matrix.
symmlqSolves a symmetric linear system with the symmetric LQ method.
symrcmReverse Cuthill-McKee ordering that reduces the bandwidth of a sparse matrix.
tfqmrSolves a square linear system with the transpose-free quasi-minimal residual method.
treelayoutComputes node coordinates for drawing a tree.
treeplotDraws a tree from its parent vector.
unmeshConverts a list of mesh edges to a graph adjacency matrix and node coordinates.