MATLAB: To design a 4pole butterworth band pass filter in frequencies 0.34Hz-1Hz with double pass filtering scheme.

bandpassbutterworthpoles

Hi, I am new to the matlab coding. I want to design a 4pole butterworth bandpass 0.34-1Hz filter. The order and ripples are not specified. The sampling frequency is 20Hz. Double pass filtering scheme should be implemented. Is this is possible in matlab?
[b,a]=butter(2, [0.34 1]/(20/2), 'bandpass'); dataout=filter(b,a,datain);
I did above code for filtering. Is this correct.
How I can implement double pass filtering scheme to this?
Any response would be greatly appreciated. Thanks in advance.

Best Answer

The ‘double pass filtering scheme’ probably refers to using the filtfilt function.