%!demo
%! ## Generate random samples from a Rician distribution
%! rand ("seed", 21);
%! samples = ricernd (1, 1, [500, 1]);
%! hist (samples, 50)
%! title ("Histogram of 500 random samples from Rician(s=1, sigma=1)")
%! xlabel ("values in x (x >= 0)")
%! ylabel ("Frequency")
%!
%! ## This generates random samples from a Rician distribution, useful for
%! ## simulating signal magnitudes in applications like wireless communications.
