Code covered by the BSD License  

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Quantile calculation

Be the first to rate this file! 7 Downloads (last 30 days) File Size: 8.6 KB File ID: #46555 Version: 1.4
image thumbnail

Quantile calculation



09 May 2014 (Updated )

Quantiles of a sample via various methods

| Watch this File

File Information

This function calculates quantiles and weighted quantiles for vectors, matrices, or N-D arrays, via one of a number of methods described in


Returns Weighted Percentiles Of A Sample inspired this file.

MATLAB release MATLAB 8.3 (R2014a)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
14 May 2014 1.1

Updated function to return sample size.

29 May 2014 1.2

Added more input checking.

18 May 2015 1.3

Added traps for sample sizes of 0 or 1.

16 Jun 2015 1.3.1

Minor bug fix when checking P and minor simplification in preallocation of q and N. Added N output to help.

16 Jun 2015 1.3.1

Corrected name.

16 Jun 2015 1.3.1

Corrected name.

19 Jun 2015 1.3.1

Added picture.

15 Apr 2016 1.4

Added weighting option.

Contact us