numunique
Description
returns
the number of unique values in n
= numunique(A
)A
. If A
is a table,
numunique
behaves as if you called
numunique(A,"rows")
.
Examples
Input Arguments
Tips
To determine the number of times each unique value appears in the input data, use the
groupcounts
function.
Version History
Introduced in R2025a