Categories &

Functions List

Function Reference: wblrnd

statistics: r = wblrnd (lambda, k)
statistics: r = wblrnd (lambda, k, rows)
statistics: r = wblrnd (lambda, k, rows, cols, …)
statistics: r = wblrnd (lambda, k, [sz])

Random arrays from the Weibull distribution.

r = wblrnd (lambda, k) returns an array of random numbers chosen from the Weibull distribution with scale parameter lambda and shape parameter k. The size of r is the common size of lambda and k. A scalar input functions as a constant matrix of the same size as the other inputs. Both parameters must be positive reals.

When called with a single size argument, wblrnd 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 Weibull distribution can be found at https://en.wikipedia.org/wiki/Weibull_distribution

See also: wblcdf, wblinv, wblpdf, wblfit, wbllike, wblstat, wblplot

Source Code: wblrnd