Probability of Error vs Noise
9 次查看(过去 30 天)
显示 更早的评论
I want to create a binary bit stream and introduce gaussian errors and then relate the level of noise to Bit error rate using erfc(sqrt(Eb/N0) as the target metric.
To create a bit stream and introuducing Gaussian errors, I am using:
bit_stream = randi([0 1],1000,1);
noisy_stream = awgn(bit_stream, 20);
How can I calculate Eb/N0 from the noisy bit stream?
1 个评论
Image Analyst
2020-5-3
If the signal is binary (zeros and ones), then how can you add Gaussian amplitude noise? Well, if you do, it will be analog. Unless the noise is extraordinarily high, it will have no effect once the noise is digitized again - this is the main benefit of digitization in the first place. Occasionally though there is such super high noise that can flip a bit and that's why they double check with things like CRC codes.
回答(1 个)
Sai Sri Pathuri
2020-5-6
You may use SNR to find the Eb/No ratio.
1. Calculation of SNR:
snrdB = snr(bit_stream, noisy_stream - bitstream);
2. You may use this documentation to find the relationship between SNR and Eb/No. You have to know the symbol period and sampling period of the signal (or) number of samples per symbol.
EbNo = snrdB + 10*log10(0.5*Tsym/Tsamp) - 10*log10(k); % For a complex signal
where, k might be influenced by the size of the modulation alphabet or the code rate of an error-control code
0 个评论
另请参阅
类别
在 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!