TIEDRANK compute rank of samples, the mean value is used in case of ties this function is just a wrapper for RANKS, and provided for compatibility with the statistics toolbox of matlab(tm) R = tiedrank(X) computes the rank R of vector X see also: RANKS