Info

This question is closed. Reopen it to edit or answer.

How to sort out elements from matrix

1 view (last 30 days)
Philip
Philip on 18 Mar 2013
Closed: MATLAB Answer Bot on 20 Aug 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 [] []

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!