I would like to add AWGN noise to my BPSK and QPSK signal. So assume the BPSK signal is x1
and QPSK signal is x2
. The EbN0
is $10\textrm{ dB}$. Therefore I will first convert the EbN0
from $\textrm{dB}$ to linear scale. Assume Eb=1
and Es=1
.
- I would like to know can anyone explain to me, should the noise power be
N0
orN0/2
?
I am really confused since according to this link
N0
is used to add noise to one dimensional noise and N0/2
is used to add noise to two dimensional signal. Therefore if Eb=1
and EbN0=10
$\textrm{dB}$
Eb=1; N=1e6; EbN0=10; EbN0_lin=10^(EBN0/10); N0=Eb/EBN0_lin; noise=sqrt(N0)*randn(1,length(x1))
or should it be
noise=sqrt(N0/2)*randn(1,length(x1))
The same thing for QPSK, is it
Es=1; EsN0=10; EsN0_lin=10^(EsN0/10); N0=Es/EsN0_lin; noise=sqrt(N0)*randn(1,length(x2))
or
noise=sqrt(N0/2)*randn(1,length(x2))
I was thinking that according to convention the N0
is sigma^2/2
however the link above is saying different things.
- Can anyone explain the correct way of calibrating the noise?
- And explain if the above reference is incorrect or not?