Language Reference


UNIQUE Function

UNIQUE (matrix1 <, matrix2, …, matrix15> );

The UNIQUE function returns a row vector that contains the sorted set of unique values of the arguments. If you call the UNIQUE function with a single argument, the function returns the sorted elements with no duplicates.

This function is identical to the UNION function , the description of which includes an example.