Sparse matrix multiplication

Memory-efficient multiplication of very large, sparse matrixes.

You are now following this Submission

Multiplication between large, sparse matrixes can result in out-of-memory errors. This simple function decomposes the problem of multiplying two very large, sparse matrixes. Regardless the function works with both sparse and dense matrixes, its utility is evident only in the case of sparse matrixes.

Cite As

Roby (2026). Sparse matrix multiplication (https://www.mathworks.com/matlabcentral/fileexchange/26023-sparse-matrix-multiplication), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Sparse Matrices in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Much more efficient implementation.
Fixed a problem with sparse matrices that affected computing time during assignment.

1.0.0.0