unique
Find the set of unique elements in an array.
y=unique(a)
Inputs
a Any array.
Outputs
y A one-dimensional array of unique elements of a .


Example
>>unique([2 3 4 2 1 2 78 8 23 2])
Columns 1 through 6
          1          2          3          4          8         23
Column 7
         78

>>unique({"usa","usa","canada","brazil","canada"})
  brazil
  canada
  usa