Tiedrank_(X,dim)

Version 1.3.0.0 (1,79 ko) par Daniel
Like MATLAB's tiedrank function, but works along dimension dim of ND-array.
466 téléchargements
Mise à jour 14 jan. 2012

Afficher la licence

r = tiedrank_(X,dim)

Parameters:
[X] is a multidimensional array.
[dim] specifies which dimension to perform ranking on.

Returns:
[r] ranked values of X along dimension dim. Where values are the same the mean rank is
given (e.g. [99 110 50 13 99] goes to [ 3.5 5 2 1 3.5] )

Code is fully vectorised.

-- DM, Jan 2012

Citation pour cette source

Daniel (2026). Tiedrank_(X,dim) (https://fr.mathworks.com/matlabcentral/fileexchange/34560-tiedrank_-x-dim), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2010a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Signal Processing dans Help Center et MATLAB Answers
Version Publié le Notes de version
1.3.0.0

Did a couple of optimising tweaks.

1.1.0.0

Corrected line 16, now reads:
otherDims = 1:length(size(X));

1.0.0.0