RandChiSquared:

Path: Math/Probability

% Chi squared distribution

 Type RandChiSquared for a demo.

--------------------------------------------------------------------------
   Form:
   p = RandChiSquared(m,n)
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   m (1,1)  Order (number of randn to square)
   n (1,1)  Number of random numbers

   -------
   Outputs
   -------
   p (1,n) Random numbers

--------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D

Back to the Math Module page