Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

MATLAB Programming/Vector and Matrices/Sparse Matrices

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

A Sparse Matrix is a matrix that mostly contains zeros. In MATLAB, sparse matrices contrast regular ones in the way they are stored, such that memory is used more efficiently for matrices that are sparse. A regular matrix can be converted to a sparse matrix using >> S = sparse(A); % Create sparse representation of A Sparse matrices are very common in engineering purposes. This is useful for manipulation as most of the matrix has a value of 0.