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

% input the file
%
load frame.dat;

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

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

