rank_corr
Version 1.0.0 (1.3 KB) by
Diyaa Al-Obaidy
Calculates the general rank correlation coeffecients.
MATLAB's corr function gives the Pearson formula for correlation which gives values between -1 & 1, while in some fields of study we need to have values between 0 & 1 for normalized data.
This function calculates the rank correlation as in the formula shown in the link below:
https://en.wikipedia.org/wiki/Rank_correlation
Useful for graph theory and adjacency matrix
Hope that you take benefit from this.
Cite As
Diyaa Al-Obaidy (2026). rank_corr (https://www.mathworks.com/matlabcentral/fileexchange/84129-rank_corr), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
