2.Convert
it to logical format. The elements
without repetition are denoted with one and the repeated elements with zero.
[0
1 0 0
0 11
0 0 0
0 1 0
0 1]

3.Find
the position of the elements that has the value one in the above step.
[2671215].

4.Find
the unique element values using the positions obtained from the above step. In
the matrix A, the element at the position 2 is 10, the element at the position
6 is 9, the element at the position 7 is 4, the element at the position 12 is 0
and the element at the position 15 is 10.
[10 9 4
0 10]

5.The
first element in the matrix is 10, it has occurred 2 times. We obtained the
occurrence of the first element alone from the matrix in the step 3. For the remaining elements, find the difference of the matrix in the step 3.
i.e. diff([2 6 7
12 15]); The result after
concatenating the first element of the matrix obtained in step 3 with
difference for the matrix in the step 3 is [2 4
1 5 3]