%!demo
%! ## Generate random samples from a t Location-Scale distribution
%! rand ("seed", 21);
%! samples = tlsrnd (0, 1, 5, 500, 1);
%! hist (samples, 50)
%! title ("Histogram of 500 random samples from t Location-Scale(mu=0, sigma=1, nu=5)")
%! xlabel ("Values in x")
%! ylabel ("Frequency")
%!
%! ## This generates random samples from a t Location-Scale distribution, useful
%! ## for simulating data with heavy tails, such as financial or experimental data.
