umardar27
Junior Member level 1
matlab modeling noise
Hi,
I am new to MATLAB and was trying to simulate BPSK and QPSK in matlab.
I had a queiry regarding noise scaling .Why the noise is devided by sqrt(1/ebno) and sqrt(2) . Here is sample programme
ebno_index=1:7
ebno=10.^(ebno_index/10)
....
noise=sqrt(1/ebno)*randn(1,100) % for BPSK
...
noise=sqrt(1/ebno)*(randn(1,100)+j*randn(1,100))/sqrt(2) % for QPSK
tahanks in advance.
umar
Hi,
I am new to MATLAB and was trying to simulate BPSK and QPSK in matlab.
I had a queiry regarding noise scaling .Why the noise is devided by sqrt(1/ebno) and sqrt(2) . Here is sample programme
ebno_index=1:7
ebno=10.^(ebno_index/10)
....
noise=sqrt(1/ebno)*randn(1,100) % for BPSK
...
noise=sqrt(1/ebno)*(randn(1,100)+j*randn(1,100))/sqrt(2) % for QPSK
tahanks in advance.
umar