Search

 

Module: Editor

Version: 5.2.0 +

Type: Long, Double, Date, Boolean or String

Category: Matrix

 

Description

The formula 'Distinct' returns only the distinct values of a vector. The formula 'Distinct' removes values that are in the vector for the second time or more. The formula 'Distinct' can only be used with matrices of rank 1.

Parameters

Vector:      the vector you want to use for distinction.

Example

Description

In the following example the formula 'Distinct' is used to get a vector with distinct values.

Values parameters

Vector (i.e. a matrix with rank 1):

Column 1
 5
 10
 2
 5
 2
 6

Result

Output:

Column 1
 5
 10
 2
 6
The outcome is a vector with only distinct values.

Feedback

If you have any questions about this subject or if you want to provide us feedback please send us an e-mail.

Updated: 2014-09-16