function [y]=faster2(x,ffast,fslow,tot)
%%  This m-file interpolates the slow data so it can be used with the high frequency data. 

incr=ffast/fslow;  %(20/1)
segs = tot/incr;   %(12000/20)

for i = 1:segs
   i1=1+(i-1)*incr;
   i2=i1+incr-1;
   y(i1:i2) = x(i);
end
