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

% input the file
%
load noise.dat;

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

% label the axis values
%
ylabel('SNR(dB)');
xlabel('noise threshold(%)');

% 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
%

