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://ch.mathworks.com/matlabcentral/fileexchange/101103-showuniquecount), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
