Function Reference: tlsrnd

statistics: r = tlsrnd (mu, sigma, nu)
statistics: r = tlsrnd (mu, sigma, nu, rows)
statistics: r = tlsrnd (mu, sigma, nu, rows, cols, …)
statistics: r = tlsrnd (mu, sigma, nu, [sz])

Random arrays from the location-scale Student’s T distribution.

Return a matrix of random samples from the location-scale Student’s T distribution with location parameter mu, scale parameter sigma, and nu degrees of freedom.

r = tlsrnd (nu) returns an array of random numbers chosen from the location-scale Student’s T distribution with location parameter mu, scale parameter sigma, and nu degrees of freedom. The size of r is the common size of mu, sigma, and nu. A scalar input functions as a constant matrix of the same size as the other inputs.

When called with a single size argument, tlsrnd returns a square matrix with the dimension specified. When called with more than one scalar argument, the first two arguments are taken as the number of rows and columns and any further arguments specify additional matrix dimensions. The size may also be specified with a row vector of dimensions, sz.

Further information about the location-scale Student’s T distribution can be found at https://en.wikipedia.org/wiki/Student%27s_t-distribution#Location-scale_t_distribution

See also: tlscdf, tlsinv, tlspdf, tlsfit, tlslike, tlsstat

Source Code: tlsrnd