Two questions about the general communication system

Hello, everyone!

Right now, I am trying to plot the graph of the BER vs Eb/N0. I have 2
questions:

1, I used a vector as the source, but how can we know or define the bit
energy in the transmitted bit streams? (very important so as to get BER)

2, In GNURadio, is there a random number generator? e.g. i wanna
generate a series of random number between 0 and 255? Anyone can tell me
how to generate that? Thank u!!!

Thx!!!

Bill

Bill S. wrote:

2, In GNURadio, is there a random number generator? e.g. i wanna
generate a series of random number between 0 and 255? Anyone can tell me
how to generate that? Thank u!!!

GNU Radio is not a programming language. GNU Radio is built from
several languages. Almost all languages have a random number generator.
We don’t know if you’re looking for a random number in a C++ block, or
within python code. Look up how to generate random numbers in the
respective language.

  • George