%Fig6
mprdX=mprd(1:11);
uavgX=uavg(4:14);
wavgX=wavg(1:11);
figure;plot(mprdX,uavgX,'-ro',mprdX,wavgX,'-bo')
title('Prediction'); xlabel('Record Number]'); ylabel('Concentration [mg/dL]');
legend('Reference', 'Predicted');