function out = bandpassfilter(in,fromband,toband)
 out = zeros(size(in));
 out(fromband+1:toband+1) = in(fromband+1:toband+1);
 out(size(out,1)-toband+1:size(in,1)-fromband+1) = in(size(out,1)-toband+1:size(in,1)-fromband+1);



  