%!demo
%! ## Compute the interquartile range for a Nakagami distribution
%! data = nakarnd (1, 1, 10000, 1);
%! pd = fitdist (data, "Nakagami");
%! iqr_value = iqr (pd)
%!
%! ## Use this to calculate the interquartile range, which measures the spread
%! ## of the middle 50% of the distribution, helpful for understanding variability
%! ## in signal amplitudes.
