Chauency / Optical-OFDM

OFDM for optical wireless communications
GNU General Public License v3.0
6 stars 2 forks source link

code errors #1

Open LitterBrother opened 6 years ago

LitterBrother commented 6 years ago

I'm confused by the 40th line of code in the ACO_OFDM.m: receiveSymbol=awgn(IFFTOutput,2*snr,'measured'); Why the snr is multiplied by 2 rather than 4? As you know, the number of useful tones is lengthOfIfft/4 thus the useful power in an OFDM symbol is correspondingly a quarter of the total power, which is equivalent to multiply snr by 4 instead of 2.

Chauency commented 6 years ago

I do not familiar with the awgn function of MATLAB. A new version of ACO-OFDM has been upload; I hope this will help you.

LitterBrother commented 6 years ago

Sorry for the delay reply. Thanks for your kind.😁

Chauency notifications@github.com 于2018年4月20日周五 上午10:22写道:

I do not familiar with the awgn function of MATLAB. A new version of ACO-OFDM has been upload; I hope this will help you.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Chauency/Optical-OFDM/issues/1#issuecomment-382946871, or mute the thread https://github.com/notifications/unsubscribe-auth/Akl3odfgstymK-y8JHjDDfuSj2ofQhmlks5tqUZggaJpZM4TZX1H .