How to compute Eb/No

조회 수: 12 (최근 30일)
Paulo
Paulo 2014년 5월 12일
편집: VIVEK JOSHI 2015년 9월 21일
Hello, I am trying to compute the Eb/No of a signal after an AWGN channel. I use a known Eb/No value on the AWGN channel and in the end I need to check that the AWGN is working as expected by confirming that the Eb/No value set is the same as the one I compute after it. The system is just a M-QAM modulator, an AWGN channel and this Eb/No computation. Why is not working? Thank you very much in advance.
clear all
M=4;
k=log2(M);
n=1000;% #_symbols
EbNo=20;
snr_ = EbNo+3+10*log10(k);
h = comm.RectangularQAMModulator(M);
for jj = 1:1:512
k = log2(M);
x = randi([0 M-1],n,1);
y = step(h,x);
ypower(jj)=10*log10((y' * y)/ length(y));
y2=awgn(y,snr_,ypower(jj));
y2power(jj)=10*log10((y2' * y2)/ length(y2));
SNR2(jj) = snr(y,y2);
EbNo(jj)=SNR2(jj)-(10*log10(k))-3;
end
  댓글 수: 1
VIVEK JOSHI
VIVEK JOSHI 2015년 9월 21일
편집: VIVEK JOSHI 2015년 9월 21일
SNR = Eb/No + 10*log10(k)- 10*log10(nsamp),, clearly you are using some particular form of this formula

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Propagation and Channel Models에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by