### MATLAB >> help using bernoulli random binary generator

hi
im using a bernoulli random binary generaotr in my wimax
can any one tell me how to change the data rate from the block

i want to transmit in the MB range.

+ is there a formula to calculte the data rate when using
random generaoter
like
samples per frame * sample rate

```hi
im using a Bernoulli generator in my wimax simulation

i want to archive a bit rate of 50mb from it.

how do i increase the bit rate

how can i calculte the bit rate? is there a formula like

bit rate = frame size* sampletime

+ what is the function of the initial seed

```

```Hi All,

I'm doing a research, which requires to seed the pseudo random number generator with a 128 bit binary string (eg. 11001101) and obtain a vector of 1000 random numbers.

From what I have gathered, we can set the seed either as a scalar or as a N length vector. I'm successful in setting the seed as a scalar, but the challenge that I'm facing is that it only accepts scalars of 10 bits, but my binary string is 128 bits long.

Still I can set the seed to 128 bits binary string. However, it gives me the same output for totally different 128 bits seeds.

eg.

Test 1:
k=10100101111110001010010100000110110100110100111011101010000111010001110110110110111010101100001111001001011111101111001110011000;
randn('state', k);
w=randn(1,10);
disp(w);

Test 2:
k=10010100101010101100011001000000100101101000011010001110011001111001111001011101011111010011010100010011010110011000101001010010;
randn('state', k);
w=randn(1,10);
disp(w);

Both Test 1 and Test 2 return the same result:

Columns 1 through 9

0.7953    0.0222    0.9484    0.6454   -0.6079    1.6226   -0.6279    0.3315    0.0232

Column 10

-0.6825

Greatly appreciate if someone can help me with the problem I'm facing.