image thumbnail

showUniqueCount

version 1.0.0 (1.32 KB) by Anmol Pardeshi
unique elements & counts

0 Downloads

Updated26 Oct 2021

View License

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 (2022).showUniqueCount(//www.tianjin-qmedu.com/matlabcentral/fileexchange/101103-showuniquecount), MATLAB Central File Exchange. Retrieved.

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!