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

% input the file
%
load signal.dat;

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

% label the axis values
%
ylabel('SNR(dB)');
xlabel('signal 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
%

