Clear Filters
Clear Filters

Split a matrix in quintile based on ascending order

2 views (last 30 days)
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,
  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)


Find more on Multidimensional Arrays in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!