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.
- Category:
- Picks
Comments
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.