how would YOU effectively (for realtime applications) calculate the median of a list of numbers?
[zl median] ho ho ho :p
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
2.) find the average of the whole list and choose one of the middle numbers accorign to where the average lies.
first, sort list.
if list length is uneven, take middle element
if list length is even, take average of middle two elements.
Log in to reply
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.