Quartile & Percentile Calculation

Demonstrates a method for computing percentiles and other basic statistics.

You are now following this Submission

Included in the first line of the script is a sample data set. The script will compute basic statistics on this data set:

mean
1-sigma (standard deviation)
median
first quartile (25th percentile)
second quartile (50th percentile)
third quartile (75th percentile)
kth percentile
IQR
SID

Cite As

Chris D. Larson (2026). Quartile & Percentile Calculation (https://www.mathworks.com/matlabcentral/fileexchange/5877-quartile-percentile-calculation), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0