How do I add AWGN noise to a RF Signal at the receiver ?
Show older comments
When we deal with the channel decoding, we add the awgn noise to the signal BPSK moduated signal "r" as
SNR_ratio = 10^(SNRdB / 10);
N0 = sqrt(1.0 / (2.0 * Rate * SNR_ratio));
r = r + N0*randn(size(r));
In the matlab example code for HARQ, the AWGN noise is added to the received Rf signal as below
- SNR = 10^(SNRdB/10);
- N0 = 1/sqrt(2.0*simLocal.NRxAnts*double(waveinfoLocal.Nfft)*SNR);
- noise = N0*complex(randn(size(rxWaveform)),randn(size(rxWaveform)));
- rxWaveform = rxWaveform + noise;
- So, How can we relate those two things ? In the matlab example code, N0 is calculated based on the SNR, NFFT and NRx antenna but do not care about the code rate. I would be so happy if someone explain it clearly.
- How can we calculate the Eb/No from the the demodulated/rxwaveform signal ?
Thank you.
Accepted Answer
More Answers (0)
Categories
Find more on 5G Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!