Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to sort out elements from matrix

1 Ansicht (letzte 30 Tage)
Philip
Philip am 18 Mär. 2013
Geschlossen: MATLAB Answer Bot am 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 [] []

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by