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
groupcountsfunction.
Version History
Introduced in R2025a