median
how would YOU effectively (for realtime applications) calculate the median of a list of numbers?
[zl median] ho ho ho :p
sounds good.
and errm ... in max v4?
and i am not sure if that what i am doing since years is right: when the number of elements is even, what do i do:
1.) get the average of the two middle elements
or
2.) find the average of the whole list and choose one of the middle numbers accorign to where the average lies.
?
-110
option 1.
first, sort list.
then,
if list length is uneven, take middle element
if list length is even, take average of middle two elements.