Quantiles
Version 1.0.6 (1,42 ko) par
David Ferreira
Calculate the quantiles of a vector or matrix data using linear interpolation.
Example using matrix
X = [1 2; 2 5; 3 6; 4 10; 7 11; 10 13];
p = [0.25 0.50 0.75];
Q = quantile(X,p)
Q =
2.2500 5.2500
3.5000 8.0000
6.2500 10.7500
See more examples described in the script files.
Citation pour cette source
David Ferreira (2026). Quantiles (https://fr.mathworks.com/matlabcentral/fileexchange/70279-quantiles), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2016a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Mathematics > Interpolation >
En savoir plus sur Interpolation dans Help Center et MATLAB Answers
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.6 | Code simplification. |
||
| 1.0.5 | Added 0.0 to 1.0 percentage support. |
||
| 1.0.4 | Description correction |
||
| 1.0.3 | Matrix support added |
||
| 1.0.2 | Scalar support added |
||
| 1.0.1 | Calculation of the median added |
||
| 1.0.0 |
