Statistics Toolbox
  Go to function:
    Search    Help Desk 
ncx2rnd    Examples   See Also

Random matrices from the noncentral chi-square distribution.

Syntax

Description

R = ncx2rnd(V,DELTA) returns a matrix of random numbers chosen from the non-central chisquare distribution with parameters V and DELTA. The size of R is the common size of V and DELTA if both are matrices. If either parameter is a scalar, the size of R is the size of the other parameter.

R = ncx2rnd(V,DELTA,m) returns a matrix of random numbers with parameters V and DELTA. m is a 1-by-2 vector that contains the row and column dimensions of R.

R = ncx2rnd(V,DELTA,m,n) generates random numbers with parameters V and DELTA. The scalars m and n are the row and column dimensions of R.

Example

References

Evans, M., N. Hastings, and B. Peacock, Statistical Distributions, Second Edition, John Wiley and Sons, 1993. p. 50-52.

Johnson, N., and S. Kotz, Distributions in Statistics: Continuous Univariate Distributions-2, John Wiley and Sons, 1970. pp. 130-148.

See Also



[ Previous | Help Desk | Next ]