% This matlab code is used for plotting the values of window duration 
% against the respective average signal to noise ratio
%

% input the file
%
load window.dat;

% plot the values of window duration against average SNR
%
plot(window(:,1),window(:,2),'go',window(:,1),window(:,3),'ko',window(:,1),window(:,4),'bo',window(:,1),window(:,5),'ro');

% label the axis values
%
ylabel('SNR(dB)');
xlabel('window duration(msec)');

% define the legend for the graph
%
legend('710_b_8k.raw','710_s_8k.raw','710_g_8k.raw','710_f_8k.raw');

% end of file
%

