If I have a list {3,19.5,85,45/2,5.6}, how can I select the median of the list without using the built-in Median command?
First I sorted the list
Sort[{3,19.5,85,45/2,5.6}]
{3, 5.6, 19.5, 45/2, 85}
I can't figure out which command to use to select the median without directly using Median command.
Quantile[{1, 2, 3, 4, 5, 6, 7}, 1/2]– AsukaMinato Nov 14 '20 at 14:03Median? – David G. Stork Nov 14 '20 at 19:51