randb
Random binary vector.
Namespace: dsp
Prototype
static Vecb randb(int n)
Parameters
n | Number of points to generate. |
Returns
A vector of random values, 0 or 1.
Description
This function can be used to generate a random bit sequence.
Example

Random binary vector.
Namespace: dsp
static Vecb randb(int n)
n | Number of points to generate. |
A vector of random values, 0 or 1.
This function can be used to generate a random bit sequence.