% File: E7_028.M

clear;

% x is Eo/No in dB
x = -1:0.5:15;

% Generating Pb(x)

Pb = zeros(length(x),1);

for (i = 1:1:length(x))
  Pb(i) = sqrt(10^(x(i)/10));
end;

Pb = 1.5*q(Pb);

fprintf('\nSee Window for plot.\n');

% Plotting results
semilogy(x,Pb);
xlabel('EbNodB');
title('BER for Bipolar Signaling');
%axis;




