Tiedrank_(X,dim)

バージョン 1.3.0.0 (1.79 KB) 作成者: Daniel
Like MATLAB's tiedrank function, but works along dimension dim of ND-array.
ダウンロード: 456
更新 2012/1/14

ライセンスの表示

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

引用

Daniel (2024). Tiedrank_(X,dim) (https://www.mathworks.com/matlabcentral/fileexchange/34560-tiedrank_-x-dim), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2010a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersSignal Processing についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
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