Probability of Error vs Noise

8 次查看(过去 30 天)
sid101
sid101 2020-5-3
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
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
Sai Sri Pathuri 2020-5-6
You may use SNR to find the Eb/No ratio.
1. Calculation of SNR:
You may use snr function to find the signal to noise ratio of noisy_stream signal
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

类别

Help CenterFile Exchange 中查找有关 Link-Level Simulation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by