Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

How to sort out elements from matrix

1 visualizzazione (ultimi 30 giorni)
Philip
Philip il 18 Mar 2013
Chiuso: MATLAB Answer Bot il 20 Ago 2021
I have a quite large matrix and I want to find out which elements are alike.
h =
8 61 65
12 2 15
12 2 27
12 15 27
12 34 37
12 34 41
16 12 14
16 14 16
24 20 28
24 22 26
24 22 28
24 22 29
24 26 29
28 71 73
28 71 76
28 73 76
The first colonn displays the number of axis. The second and third colonn displays the position of similar axis. I want to sort out all the positions that are similar.
in this example i want a matrix or several vector which displays the positions with similar axis;
61 65 [] [] [];
2 15 27 [] [];
34 37 41 [] [];
12 14 16 [] [];
20 22 26 28 29;
71 73 76 [] []

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by