How do you find quartiles 1 and 3 using the remainder function?

if rem(len_h,2) == 1 idQ2 = (len_h+1)/ 2 Q2 = h(idQ2);
else idQ2 = (len_h)/2; Q2 = (h(idQ2)+h(idQ2+1))/2;
here is my code for lengths that are odd. This is to fine the median

답변 (0개)

카테고리

도움말 센터File Exchange에서 Specialized Power Systems에 대해 자세히 알아보기

태그

질문:

2018년 3월 4일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by