Language Reference

UNIQUE Function

sorts and removes duplicates

UNIQUE( matrix1<, matrix2,..., matrix15>)

where matrix is a numeric or character matrix or quoted literal.

The UNIQUE function returns as a row vector the sorted set (without duplicates) of all the element values present in its arguments. The arguments can be either all numeric or all character, and there can be up to 15 arguments specified. This function is identical to the UNION function, the description of which includes an example.

Previous Page | Next Page | Top of Page