% File: E3_016B.M

clear;

n = 6;
ep = -1:-1:-8;
M = 2^n;

SNRout = zeros(length(ep),1);
for (i = 1:1:length(SNRout))
  SNRout(i) = M^2/(1+4*(M^2-1)*10^(ep(i)));
end;

SNRoutdB = 10*log10(SNRout);

plot(ep,SNRoutdB);
xlabel('ep');
ylabel('SNRoutdB');





