If i have
x= 1 2 3 4 2 5 1 5
is the index of my data. i want to get on remaining of these index but not need index that have i=j i.e [ (1 1) (2 2) (3 3)(4 4)(5 5) and not need fliplr of x i.e [(2 1)(4 3)(5 2)(5 1)]. so i want to the result
result= 1 3 1 4 2 3 2 4 3 5 4 5
that should not contain fliplr of any index.
Best Answer