Emulates a single pole analog high pass filter.
SHP(series, fc)
series |
- |
A series or table. |
fc |
- |
A real, the cutoff frequency in Hertz. |
A series.
W1: gsqrwave(100, .01, 4)
W2: shp(W1, 10)
High pass filters the squarewave in W1 with a cutoff frequency of 10 Hz. The sample rate is set to the sample rate of the input data.
The single pole analog high pass filter is implemented in the digital domain using the impulse invariance technique.
See SHPFREQ to display the frequency response of the single pole filter.
See DADiSP/Filters for additional digital filter design techniques and implementations.