genint - random integer number generator
That function outputs random integer numbers (int32).
y=genint(n[,m,typ,nbit])
- n,m :
Size of the output matrix.
- typ :
Type of the output coding (default 0)
- 0 :
NRZ
- 1 :
RZ or unsigned number
- 2 :
signed number
- nbit :
Length in bits of output words
- y :
Output matrix of size n,m
//vector of random NRZ bit
y=genint(5);
//3 vectors of random NRZ bit
y=genint(5,3);
INRIA A. Layec