Function Reference: bbsrnd

statistics: r = bbsrnd (shape, scale, location)
statistics: r = bbsrnd (shape, scale, location, rows)
statistics: r = bbsrnd (shape, scale, location, rows, cols, …)
statistics: r = bbsrnd (shape, scale, location, [sz])

Random arrays from the Birnbaum-Saunders distribution.

r = bbsrnd (shape, scale, location) returns an array of random numbers chosen from the Birnbaum-Saunders distribution with parameters shape, scale, and location. The size of r is the common size of shape, scale, and location. A scalar input functions as a constant matrix of the same size as the other inputs.

When called with a single size argument, return 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 vector of dimensions sz.

See also: bbscdf, bbsinv, bbspdf

Source Code: bbsrnd