Quartile & Percentile Calculation
Version 1.0.0.0 (1.05 KB) by
Chris D. Larson
Demonstrates a method for computing percentiles and other basic statistics.
16.7K Downloads
Updated
17 Sep 2004
No License
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 .
MATLAB Release Compatibility
Created with
R14
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- AI and Statistics > Statistics and Machine Learning Toolbox > Descriptive Statistics and Visualization > Descriptive Statistics >
Find more on Descriptive Statistics in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: medoultierfilt, Box Plot with Whiskers Plotted at Fixed Percentiles
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
