iModa
A MATLAB script to find the mode of vector x. It is possible to perform a checksum on data and to plot the vector of frequencies just by uncommenting the right lines, use it in case it is possible to find more than one mode. Plot is optional.
Calling sentece: [Moda ncont] = iModa(x)
Developed under MATLAB(TM) version 7.0.0.19901 (R14) by Isaac M. M. INOGS, Trieste(Italy). January 10, 2005 @01h46:44.
Cite As
Isaac Mancero Mosquera (2024). iModa (https://www.mathworks.com/matlabcentral/fileexchange/6708-imoda), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Modified in order to include suggestion from Jos and add some robustness regarding NANs |