Split a matrix in quintile based on ascending order

Hello,
I have a matrix of 2874x26 that I'd like to split into quintile for each of the 26 years. I've tried the quantile function many times but I can't figure out a way to do this at once.
Best regards,
Frank

1 Kommentar

Note that there's some NaN in my matrix and I want to exclude them when forming my quintile for each year.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Produkte

Version

R2019b

Gefragt:

am 16 Feb. 2021

Kommentiert:

am 16 Feb. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by