Calculating bottom percentile and top percentile of a distribution using prctile()

1 view (last 30 days)
Hi everybody, I would like to calculate the bottom 30 percentiles and the top 30 percentiles of a distribution. I used the prctile() function in matlab to do the first. But how do I calculate the top 30 percentiles in matlab?

Answers (1)

dpb
dpb on 14 Apr 2017
Isn't top 30% simply (100-30)% -->70%???

Community Treasure Hunt

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

Start Hunting!