Ordering and Ranking of Data by Frequency of Occurrence
Versión 1.0.0 (1,8 KB) por
Hristo Zhivomirov
Ordering and ranking of data by frequency of occurrence of the unique values.
The present code is a Matlab function that provides ordering and then ranking of data by frequency of occurrence of the unique values in the data set. The function returns:
- vector with ranks of the ordered frequencies of occurrence;
- vector with ordered frequencies of occurrence of the unique data values;
- vector with the unique data values ordered by the frequency of occurrence.
An example is given in order to clarify the usage of the function. For convenience, the input and output arguments are given in the beginning of the function.
Citar como
Hristo Zhivomirov (2025). Ordering and Ranking of Data by Frequency of Occurrence (https://www.mathworks.com/matlabcentral/fileexchange/100446-ordering-and-ranking-of-data-by-frequency-of-occurrence), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2017b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0 |