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.
인용 양식
Tal Shir (2024). cellhist (https://www.mathworks.com/matlabcentral/fileexchange/23933-cellhist), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2008b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- 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 >
Help Center 및 MATLAB Answers에서 Data Distribution Plots에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!