Filter löschen
Filter löschen

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 Ansicht (letzte 30 Tage)
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?

Antworten (0)

Kategorien

Mehr zu Matrices and Arrays 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!

Translated by