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.
引用格式
Hristo Zhivomirov (2024). 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. 检索来源 .
MATLAB 版本兼容性
创建方式
R2017b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |