Displays the frequency response of a single pole digital high pass filter.
SHPFREQ(fc, N, fs, mag)
fc 
 
A real, the cutoff frequency in Hertz. 

N 

Optional. An integer, the number of frequency samples. Defaults to 4096. 

fs 
 
Optional. A real, the sample rate of the filter. Defaults to 

mag 
 
Optional. An integer, the log scale flag.

A series, the frequency response of the filter.
W1: shpfreq(100)
returns 4096 samples of the magnitude of the frequency response for a single pole high pass filter with a cutoff frequency of 100 Hz. The result is displayed on a log scale.
W1: shpfreq(100, 10000)
returns 10000 samples of the magnitude of the frequency response for a single pole high pass filter with a cutoff frequency of 100 Hz. The result is displayed on a log scale.
W1: shpfreq(10, 6000, 200, 1)
returns 6000 samples of the complex frequency response for a single pole high pass filter with a cutoff frequency of 10 Hz and a sample rate of 200 Hz.
The single pole analog high pass filter is implemented in the digital domain using the impulse invariance technique.
See SHP to process data with a single pole high pass digital filter.
See DADiSP/Filters for additional digital filter design techniques and implementations.