G = [
           10            0            0      0.24571      0.23857      0.24571
           10            3            0      0.15524      0.16667      0.15714
           10            6            0     0.077857     0.072857        0.075
           10            9            0     0.029643     0.028929     0.029643
           10           12            0    0.0055357    0.0042857    0.0051786
           10           15            0   0.00053571   0.00044643   0.00053571
];

%%         10           18            0   9.5238e-05            0   9.5238e-05

hold off
subplot(2,2,1)
semilogy(G(:,2),G(:,5),'k-')
hold on
semilogy(G(:,2),G(:,4),'k-.')
semilogy(G(:,2),G(:,6),'k--')
xlabel 'SNR (dB)'
ylabel 'BER'
hold off

% a = axis;

x = 0.5; % 11; % a(1) + (a(2)-a(1))/20;
y = 0.3e-2; % 1.2e-1; % a(3) + (a(4)-a(3))/20;

text(x,y, ['.-.-.- EM               '; ...
           '----- ML                '; ...
           '\_\_\_\_\_ known channel']);


title 'gm.58 - N=10, var\_h = 0.001'
