Effacer les filtres
Effacer les filtres

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 vue (au cours des 30 derniers jours)
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?

Réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by