Function Reference
— Function File: hygernd (t, m, n, r, c)
— Function File: hygernd (t, m, n, sz)
— Function File: hygernd (t, m, n)

Return an r by c matrix of random samples from the hypergeometric distribution with parameters t, m, and n.

The parameters t, m, and n must positive integers with m and n not greater than t.

The parameter sz must be scalar or a vector of matrix dimensions. If sz is scalar, then a sz by sz matrix of random samples is generated.