Incorrect addition of noise in the example: ('lte/NPDSCHBlockErrorRateExample')
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I noticed an incorrect addition of noise in the matlab example ('lte/NPDSCHBlockErrorRateExample').
In line 385 and 388, there is:
N0 = 1/(sqrt(2.0*enb.NBRefP*double(ofdmInfo.Nfft))*SNR)
noise = N0*complex(randn(size(rxWaveform)), ...
randn(size(rxWaveform)));
If we separately compute the noise power : Pnoise = mean(abs(noise).^2);
and then the signal power: PrxWaveform = mean(abs(rxWaveform).^2);
The SNR obtained : SNR_result = 10*log10(PrxWaveform/Pnoise) is very different than the SNR value defined in the code.
I think some division by sqrt(12/128) is missing when generating the noise as it represents the power factor at the end of the OFDM modulation.
Could you please clarify and let me know if there is indeed something wrong in the example?
Thanks
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur LTE Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!