Generation of a pseudo-random number sequence
b = prbs(n)
number of bits to generate
output binary vector (1 column of n elements)
Implementation based on the grand Scilab generator.
Note: So as to generate a determinist pseudo-"random" sequence, one can
initialize the seed of the random generator using the following command:
grand("setsd", n)
, with n being any integer.