Skip to content

uniq

  uniq - find the unique elements in a vector

  y = uniq (x) returns a vector shorter than x with all sequential
  occurances but the first of the same element eliminated.

  cf. the unix uniq command.  Also see SORT.