Borrar filtros
Borrar filtros

Related to BER Vs SNR plot

17 visualizaciones (últimos 30 días)
chaaru datta
chaaru datta el 14 de Nov. de 2023
Comentada: chaaru datta el 24 de Nov. de 2023
Hello all, I have written the MATLAB code for BER (Bit Error Rate) Vs (Signal to Noise Ratio) plot. My problem is that every time I run the program, it shows some variation in the values of BER, while I am expecting same values of BER every time we run the program.
The code consists of sentences that involves random numbers and hence I had generated random numbers by running a for loop 80 thousand times. Still there is some variation in BER values.
I am not getting where I am doing wrong.
Any help in this regard will be highly appreciated.

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 14 de Nov. de 2023
Editada: KALYAN ACHARJYA el 14 de Nov. de 2023
As you've mentioned that the code involves the generation of random or sample data (rand function), each time the code is executed, it generates different random data it could yield varying BER data. Consider using fixed data for the random data generation variable to stabilize the Bit Error Rate (BER) values.
  1 comentario
chaaru datta
chaaru datta el 24 de Nov. de 2023
Thank u sir for ur response. I am working on wireless communication project and in wireless, the channel between transmitter and receiver is always going to be random variables and so while plotting BER Vs SNR curves, we cannot omit the random nature of channels.
Thus to minimize the variations, I had generated random numbers by running a for loop 80 thousand times.

Iniciar sesión para comentar.

Categorías

Más información sobre Propagation and Channel Models en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by