Related to BER Vs SNR plot
조회 수: 28 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
KALYAN ACHARJYA
2023년 11월 14일
편집: KALYAN ACHARJYA
2023년 11월 14일
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Propagation and Channel Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!