Can I convert CRS and CSC sparse matrices to MATLAB sparse matrices?
Show older comments
I have data stored in the CRS and CSC formats in MATLAB arrays, and I want to use them as "sparse" matrices in MATLAB with the sparse matrix operations.
How can I convert from CRS and CSC to MATLAB sparse matrices? I understand that internally MATLAB stores sparse matrices in the CSC format. To access the specific details of how MATLAB handles sparse matrices, please execute the following command in the MATLAB R2020a command window to view the relevant documentation:
>> web(fullfile(docroot, 'matlab/ref/sparse.html'))
Accepted Answer
More Answers (0)
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!