You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
MODE finds the mode of a sample. The mode is the observation with the greatest frequency.
i.e. in a sample x=[0, 1, 0, 0, 0, 3, 0, 1, 3, 1, 2, 2, 0, 1] the mode is the most frequent item, 0.
Cite As
Michael Robbins (2026). mode (https://uk.mathworks.com/matlabcentral/fileexchange/5266-mode), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: fastmode
General Information
- Version 1.0.0.0 (449 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | Now handles multiple modes. |
