Unique Command

From GeoGebra Manual
Revision as of 15:12, 11 August 2015 by Markus.winkler (talk | contribs)
Jump to: navigation, search


Unique[ <List> ]
Returns list of elements of the given list in ascending order, repetitive elements are included only once. Works for both a list of numbers and a list of text.
Examples:
  • Unique[{1, 2, 4, 1, 4}] yields {1, 2, 4}.
  • Unique[{"a", "b", "Hello", "Hello"}] yields {"'Hello", "a", "b"}.
Note: See also Frequency command.

CAS Syntax

Unique[ <List> ]
Returns a list where each element of the given list occurs only once.
Example:
Unique[{1, x, x, 1, a}] yields {1, x, a}.
© 2024 International GeoGebra Institute