Post Reply 
median
09-14-2014, 07:17 AM
Post: #10
RE: median
(09-14-2014 04:35 AM)Helge Gabert Wrote:  Yes, this will do nicely (if the array or list is already sorted).

Otherwise: (median(M1)+median(tail(SORT(M1))))/2.

Yikes, I forgot that it might not be pre-sorted. Good catch!

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
median - Helge Gabert - 09-13-2014, 06:11 PM
RE: median - parisse - 09-13-2014, 06:44 PM
RE: median - Marcel - 09-13-2014, 08:25 PM
RE: median - Joe Horn - 09-14-2014, 04:21 AM
RE: median - Don Shepherd - 09-13-2014, 09:46 PM
RE: median - Chris Pem10 - 09-14-2014, 02:24 AM
RE: median - Tim Wessman - 09-14-2014, 03:41 AM
RE: median - Helge Gabert - 09-14-2014, 04:35 AM
RE: median - Joe Horn - 09-14-2014 07:17 AM
RE: median - parisse - 09-14-2014, 06:34 AM
RE: median - parisse - 09-14-2014, 09:37 AM
RE: median - Paul Dale - 09-14-2014, 09:51 AM
RE: median - parisse - 09-14-2014, 11:56 AM
RE: median - Thomas Radtke - 09-14-2014, 10:11 AM



User(s) browsing this thread: 1 Guest(s)