th_butter
Four-pole Butterworth filter.
Syntax
th_butter(xvect, yvect, lowfreq, octave, debug_flag)
Arguments
- xvect
- The time vectors (seconds).
- yvect
- Response vectors to be filtered (any units).
- lowfreq
- Low Frequency (Hz).
- octave
- Can be 3 or 6.
- debug_flag
- Optional argument. Flag to turn on debug mode (points to message log). Default is off.
Example
th_butter(p1w1c1.x, p1w1c1.y, 0.02, 6)
Comments
4−pole Butterworth filter is a low−pass filter, which means that high frequencies are filtered.
Equivalent filters in TH++ are:
- LOW PASS 4-poles Butterworth (-3db)
- LOW PASS 4-poles Butterworth (-6db)