Statistics Toolbox
  Go to function:
    Search    Help Desk 
hygernd    Examples

Random numbers from the hypergeometric distribution.

Syntax

Description

R = hygernd(M,K,N) generates hypergeometric random numbers with parameters M,K and N. The size of R is the common size of M, K, and N if all are matrices. If any parameter is a scalar, the size of R is the common size of the nonscalar parameters.

R = hygernd(M,K,N,mm) generates hypergeometric random numbers with parameters M, K, and N. mm is a 1-by-2 vector that contains the row and column dimensions of R.

R = hygernd(M,K,N,mm,nn) generates hypergeometric random numbers with parameters M, K, and N. The scalars mm and nn are the row and column dimensions of R.

Examples



[ Previous | Help Desk | Next ]