%!demo
%! ## Compute the median for different Normal distributions
%! data1 = 0 + 0.5 * randn (10000, 1);
%! data2 = 0 + 1.0 * randn (10000, 1);
%! pd1 = fitdist (data1, "Normal");
%! pd2 = fitdist (data2, "Normal");
%! median1 = median (pd1)
%! median2 = median (pd2)
%!
%! ## Use this to find the median value, which equals the mean in symmetric
%! ## Normal distributions, useful for central tendency measures.
