1.8K 次下载
更新时间
2007/8/6
无许可证
Calculates the statistical mode (the most frequently occurring element) in a vector (or matrix), and returns the mode, the number of occurrences and the indices of the mode in the vector. Like the build in mode, only also includes indices.
Reasonable fast :-)
If more than one mode exist (2+ elements with equal maximum occurances) first one found is returned.
Plz comment or leave feedback
引用格式
Felix Hebeler (2024). Modal (https://www.mathworks.com/matlabcentral/fileexchange/15754-modal), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2006b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 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!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | - Correct a bug where output was NaN if first cell in input grid are NaN and most cells in grid are NaN |