Block-diagonalize matrix based on specific block criteria

조회 수: 5 (최근 30일)
Ludovic Tenorio
Ludovic Tenorio 2023년 8월 30일
댓글: Ludovic Tenorio 2023년 8월 30일
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
Bruno Luong
Bruno Luong 2023년 8월 30일
편집: Bruno Luong 2023년 8월 30일
And the "specific block criteria" is exactly what?

댓글을 달려면 로그인하십시오.

채택된 답변

Bruno Luong
Bruno Luong 2023년 8월 30일
See symrcm symamd colamd commands and such

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Sparse Matrices에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by