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)

 

Highpass 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 highpass filter is implemented in the digital domain using the impulse invariance technique.

 

See DADiSP/Filters for additional digital filter design techniques and implementations.

See Also:

DADiSP/Filters

SLP