Should the blocks of transmitted bits be the same for repeated transmission at a specific SNR?

1 次查看(过去 30 天)
I am transmitting bits through a AWGN channel with multipath. A block of 200 bits are transmitted repeatedly at a certain SNR so as to obtain the BER. Firstly, should the block of bits be same each time, by using the rng(-) function before using randi? How to choose the value for the argument of rng function? Also, if the function rng is not used, then for the same SNR, the amount of errors differ greatly.
Please advise on usual way such simulation should be carried out.

回答(1 个)

Andrew Schenk
Andrew Schenk 2015-6-19
编辑:Andrew Schenk 2015-6-19
You should not need to seed the random number generator since the bit error rate should not depend on the underlying data. A common problem in BER calculations is not properly delaying the source data before the error calculation to account for simulation delays in the transmitted signal.
Take a look at the following example which calculates the BER for a full QPSK Transmitter and Receiver with AWGN:

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by