Generate a matrix of random binary numbers. The size of the matrix is n rows by m columns. By default m is equal to n.
The range in which the integers are generated will is determined by the variable range. If range is an integer, the value will lie in the range [0,range-1], or [range+1,0] if range is negative. If range contains two elements the integers will lie within these two elements, inclusive. By default range is assumed to be [0:1].
The variable seed allows the random number generator to be seeded with a fixed value. The initial seed will be restored when returning.
Package: communications