Sparse Matrix Multiplication

Allows you to specify the maximum number of nonzeros before multiplying sparse matrices.
5.4K Downloads
Updated 23 Sep 2005

No License

Matlab's built in sparse matrix multiplication function causes out of memory exceptions when it shouldn't. This file saves the day! Compile it with "mex mex_amub.cpp".

Cite As

Christian Walder (2025). Sparse Matrix Multiplication (https://se.mathworks.com/matlabcentral/fileexchange/7466-sparse-matrix-multiplication), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Sparse Matrices in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

dynamic memory if nargin < 3