Ordering and Ranking of Data by Frequency of Occurrence

Ordering and ranking of data by frequency of occurrence of the unique values.

You are now following this Submission

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.

Cite As

Hristo Zhivomirov (2026). Ordering and Ranking of Data by Frequency of Occurrence (https://se.mathworks.com/matlabcentral/fileexchange/100446-ordering-and-ranking-of-data-by-frequency-of-occurrence), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0