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!