ranker(data)
Will's pick this week is ranker(data) by R P.
They say it's the little things in life. I find this simple little function oddly compelling. Pass it a matrix, and it returns a similarly sized matrix that ranks the input's values from lowest to highest.
Be advised that this example comes with some limitations. It doesn't fully support:
Let us know what you think here or leave a comment for R P.
They say it's the little things in life. I find this simple little function oddly compelling. Pass it a matrix, and it returns a similarly sized matrix that ranks the input's values from lowest to highest.
Be advised that this example comes with some limitations. It doesn't fully support:
- Matrices of 3 or more dimensions
- Imaginary numbers
- 3 or more tie values
Let us know what you think here or leave a comment for R P.
- 类别:
- Picks
评论
要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。