Example of Median
For the vector [1 4 5 9 12 33], the median is the average of the 5 & 9 in the middle:
>> median([1 4 5 9 12 33])
ans =
7