ncx2rnd
Noncentral chi-square random numbers
Description
generates an array of random numbers, where r = ncx2rnd(nu,delta,sz1,...,szN)sz1,...,szN indicates the
size of each dimension.
Examples
Input Arguments
Output Arguments
Alternative Functionality
ncx2rndis a function specific to the noncentral chi-square distribution. Statistics and Machine Learning Toolbox™ also offers the generic functionrandom, which supports various probability distributions. To userandom, specify the probability distribution name and its parameters. Note that the distribution-specific functionncx2rndis faster than the generic functionrandom.To generate random numbers interactively, use
randtool, a user interface for random number generation.
References
[1] Evans, M., N. Hastings, and B. Peacock. Statistical Distributions. 2nd ed., Hoboken, NJ: John Wiley & Sons, Inc., 1993, pp. 50–52.
[2] Johnson, N., and S. Kotz. Distributions in Statistics: Continuous Univariate Distributions-2. Hoboken, NJ: John Wiley & Sons, Inc., 1970, pp. 130–148.
Extended Capabilities
Version History
Introduced before R2006a
