th_bandpass_butter
Four-pole Butterworth filter.
Syntax
th_bandpass_butter(xvect, yvect, lowfreq, highfreq, debug_flag)
Arguments
- xvect
- The time vectors (seconds).
- yvect
- Response vectors to be filtered (any units).
- lowfreq
- Low Frequency (Hz).
- highfreq
- High Frequency (Hz).
- debug_flag
- Optional argument. Flag to turn on debug mode (points to message log). Default is off.
Example
th_bandpass_butter(p1w1c1.x, p1w1c1.y, 50, 100)
Comments
Equivalent filter in TH++ is: Bandpass Butterworth.