get the median of an array in perl
February 9th, 2006 by Lawrence David
to get the median of an array of numbers, first install the numbercruncher module. then, use the following code:
my($medianValue) = Math::NumberCruncher::Median(\@numArray);
February 9th, 2006 by Lawrence David
to get the median of an array of numbers, first install the numbercruncher module. then, use the following code:
my($medianValue) = Math::NumberCruncher::Median(\@numArray);