function ic = f920(a) [~, ~, ic] = unique(a);endf920([-6 3 9 5 3 -7])
Standard input is empty
ans = 2 3 5 4 3 1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!