showUniqueCount

unique elements & counts

You are now following this Submission

this function will return the unique elements present in an array along with the number of times those each unique elements occur i.e. counts
input: single array*#
output: table with unique elements with counts
* currently takes a character array ; future version will have provisions for double-type arrays
# since double is parsed, NaN case is not handled ; future version (Where double-type arrays are handled) will have provison for NaN cases.

Cite As

Anmol Pardeshi (2026). showUniqueCount (https://uk.mathworks.com/matlabcentral/fileexchange/101103-showuniquecount), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0