% plot for bad init
%
hold off
subplot(2,2,1)
load gm.23.txt
G=gm;
semilogy(G(:,2),G(:,3),'k:')
hold on
semilogy(G(:,2),G(:,4),'k-.')
semilogy(G(:,2),G(:,5),'k-')
semilogy(G(:,2),G(:,6),'k--')
axis([0 20 1e-3 1e0]);
xlabel 'SNR (dB)'
ylabel 'BER'
title '(a) gm.23: 1,000 trials'

hold off
subplot(2,2,2)
load gm.24.txt
G=gm;
semilogy(G(:,2),G(:,3),'k:')
hold on
semilogy(G(:,2),G(:,4),'k-.')
semilogy(G(:,2),G(:,5),'k-')
semilogy(G(:,2),G(:,6),'k--')
axis([0 20 1e-3 1e0]);
xlabel 'SNR (dB)'
ylabel 'BER'
title '(b) gm.24: 100 trials'

x = 1;
y = 0.5e-2;

text(x,y, ['.......  deterministic'; ...
           '-.-.-. Gauss-Markov   '; ...
           '---- direct ML        '; ...
           '\_\_\_\_ known channel']);

print -deps gm_23_24.eps
