Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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))
 
PREVIOUS NEXT
Tagged: #matlab #filter #python
ADD COMMENT
Topic
Name
5+7 =