% 
% Example of plot in Matlab over a range of indices or time
%
t=0:1e-4:3/60;vol=sin(2*pi*60*t);
% To plot over a range of indices
figure(1);plot(t(168:251),vol(168:251))
% To plot over a time range
ind=find(t>1/60 & t<2/60);
% ind=find(t>=0.5 & t<=0.6);   % also possible
figure(2);plot(t(ind),vol(ind))