DADiSP Worksheet Functions > Function Categories > Fourier Transforms and Signal Processing > SHP

 

SHP

Purpose:

Emulates a single pole analog high pass filter.

Syntax:

SHP(series, fc)

series

-

A series or table.

fc

-

A real, the cutoff frequency in Hertz.

Returns:

A series.

Example:

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.

 

image\shp.gif

Remarks:

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.

See Also:

DADiSP/Filters

SHPFREQ

SLP

SLPFREQ