filter in matlab code example
Example: matlab filter in python
# Filter data along one-dimension with an IIR or FIR filter.
from scipy.signal import lfilter
out = lfilter(b, a, data, axis=0)
out = lfilter(b, a, np.squeeze(data))
# Filter data along one-dimension with an IIR or FIR filter.
from scipy.signal import lfilter
out = lfilter(b, a, data, axis=0)
out = lfilter(b, a, np.squeeze(data))