Split a matrix in quintile based on ascending order

3 views (last 30 days)
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 Comment
Francis Chabot
Francis Chabot on 16 Feb 2021
Note that there's some NaN in my matrix and I want to exclude them when forming my quintile for each year.

Sign in to comment.

Answers (0)

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!