— Function File: chi2rnd (n, r, c)
— Function File: chi2rnd (n, sz)
Return an r by c or a size (sz) matrix of
random samples from the chisquare distribution with n degrees
of freedom. n must be a scalar or of size r by c.
If r and c are omitted, the size of the result matrix is
the size of n.