Find blocks inside a large sparse matrix
Show older comments
I am working with a 3072 x 3072 sparse matrix which supposedly has some structured blocks which are positive definite,some blocks of zero and some unstructured blocks.Right now I have extracted all the non zero indices of the matrix and arranged column indices for every row having non zero values .I am trying to find clusters in these non zero elements by using excel and plotting 25 rows each for columns indices that appear to be closer.Since the matrix is a large one ,this is quite tedious and time consuming.
Could anyone please suggest an efficient way to find and visualize such structure in the matrix?
Answers (1)
Matt J
on 1 Nov 2021
0 votes
The spy() command?
7 Comments
bashir ud din
on 1 Nov 2021
bashir ud din
on 1 Nov 2021
Matt J
on 1 Nov 2021
You can just zoom in on those features and read the index ranges off the axes.
bashir ud din
on 1 Nov 2021
Matt J
on 1 Nov 2021
To automate it further, you need more criteria for the blocks you are looking for.
bashir ud din
on 1 Nov 2021
Categories
Find more on Legend 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!