Block-diagonalize matrix based on specific block criteria
14 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ludovic Tenorio
am 30 Aug. 2023
Kommentiert: Ludovic Tenorio
am 30 Aug. 2023
I would like to re-arrange a symmetric logical matrix to form "blocks" along the diangonal. Here, I define these blocks based on row/colums that share ones.
To illustrate visually, here is the inital symmetric logical matrix:
And I would like to find the permutations that give me this:

1 Kommentar
Bruno Luong
am 30 Aug. 2023
Bearbeitet: Bruno Luong
am 30 Aug. 2023
And the "specific block criteria" is exactly what?
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Sparse Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!