I have used a bandpass
filter function in Matlab as follows
Fs = 128; sampling rate
Fd = [1 4]; passband freq
[data_1_bandpassed, digital_filter] = bandpass(signal, Fd, Fs);
How can we design this bandpass filter in Python to recreate the exact same output?
When using butter
& filtfilt
commands in Matlab & Python, I am able to get the exact same filtered signals between the two programming languages. However, I explicilty need to recreate this output of Matlabs bandpass
function in Python.
I have also attached the output of the digital filter properties and values created using Matlab bandpass
function.
A similar question is already asked by another user few months ago in different domain but with no solution, so I am adding that here for reference as well!