편집자 메모: 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
인용 양식
R P (2024). ranker(data) (https://www.mathworks.com/matlabcentral/fileexchange/56244-ranker-data), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Preprocessing Data에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!