Probability of Error vs Noise

8 visualizzazioni (ultimi 30 giorni)
sid101
sid101 il 3 Mag 2020
Risposto: Sai Sri Pathuri il 6 Mag 2020
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 Commento
Image Analyst
Image Analyst il 3 Mag 2020
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.

Accedi per commentare.

Risposte (1)

Sai Sri Pathuri
Sai Sri Pathuri il 6 Mag 2020
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

Categorie

Scopri di più su Link-Level Simulation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by