function x = bpf(T1,T2,sp,x) %BPF BandPass filter between T1 < period < T2 % BPF(T1,T2,SP,X) filters the input vector X, at the sampling % rate SP, using a 2nd order bandpass digital Butterworth % filter, constructed to retain information between % the input periods T1