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.
Citation pour cette source
Anmol Pardeshi (2024). showUniqueCount (https://www.mathworks.com/matlabcentral/fileexchange/101103-showuniquecount), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2020b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0 |