You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Syntax: [ranked_data]=ranker(data);
Example: data=rand(3,2)
[ranked_data]=ranker(data)
Obs:
x=[1;10;100]
y=[4;3;70]
>> corr(x,y,'type','spearman')
ans =
0.5000
>> corr(ranker(x),ranker(y),'type','pearson')
ans =
0.5000
Cite As
R P (2026). ranker(data) (https://www.mathworks.com/matlabcentral/fileexchange/56244-ranker-data), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.1.0.0 (791 Bytes)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
