MODE

版本 1.0.0.0 (386 字节) 作者: Mukhtar Ullah
Computes mode of statistical data.
2.6K 次下载
更新时间 2005/6/3

无许可证

MODE statistical mode of an array
MODE(X) returns the most frequent element(s) of array X. X can be charracter array or cell array of strings.

Example: mode([3 9 4 2 3 2]) returns [2;3]

引用格式

Mukhtar Ullah (2024). MODE (https://www.mathworks.com/matlabcentral/fileexchange/5826-mode), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Extended to support charcter arrays or cell arrays of strings.