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.
인용 양식
David Ferreira (2024). Quantiles (https://www.mathworks.com/matlabcentral/fileexchange/70279-quantiles), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2016a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Mathematics > Interpolation >
Help Center 및 MATLAB Answers에서 Interpolation에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!