ranker(data)
Versión 1.1.0.0 (791 Bytes) por
R P
RANKER returns ranked position of DATA matrix, with the same line-row structure.
Nota del editor: 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
Citar como
R P (2023). ranker(data) (https://www.mathworks.com/matlabcentral/fileexchange/56244-ranker-data), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R13
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
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.