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

Respuestas (0)

Categorías

Más información sobre Develop Apps Using App Designer en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 4 de Mzo. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by