Azzera filtri
Azzera filtri

i have a binary matrix (let's assume 5x7), which I have converted into a block diagonalized form using dmperm function, now how to find out in which cluster do the elements fall?

1 visualizzazione (ultimi 30 giorni)
H= [0 0 0 0 0 1 1; 1 1 0 1 0 1 1; 1 1 0 0 0 1 0; 1 1 0 1 1 1 0; 0 0 0 1 1 0 0; 1 1 0 1 0 0 0];
[p,q] = dmperm(H);
H(p,q).
The result is as follows:
ans =
0 1 1 1 0 0 0
0 1 1 0 0 1 0
0 1 1 1 1 1 0
0 0 0 1 1 0 0
0 1 1 1 0 1 1
0 0 0 0 0 1 1
Now, my problem is how to find out in which cluster which elements are falling?

Risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by