Input is a cell string array and the Histogram will be plotted according to the different string in the array.
Example:
CELL={'a' ; 'a' ; 'b' ;'b' ; 'b' ; 'c' ;'c' ;'c'}
[n cellout]=cellhist(CELL)
Notice: you will need to download rotateticklabel.m from the file exchange.
Citar como
Tal Shir (2024). cellhist (https://www.mathworks.com/matlabcentral/fileexchange/23933-cellhist), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2008b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Graphics > 2-D and 3-D Plots > Data Distribution Plots >
- MATLAB > Language Fundamentals > Data Types > Characters and Strings >
- MATLAB > Language Fundamentals > Data Types > Cell Arrays >
Más información sobre Data Distribution Plots en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.