Find blocks inside a large sparse matrix
Mostrar comentarios más antiguos
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?
Respuestas (1)
Matt J
el 1 de Nov. de 2021
0 votos
The spy() command?
7 comentarios
bashir ud din
el 1 de Nov. de 2021
bashir ud din
el 1 de Nov. de 2021
Matt J
el 1 de Nov. de 2021
You can just zoom in on those features and read the index ranges off the axes.
bashir ud din
el 1 de Nov. de 2021
Matt J
el 1 de Nov. de 2021
To automate it further, you need more criteria for the blocks you are looking for.
bashir ud din
el 1 de Nov. de 2021
Categorías
Más información sobre Legend en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
