hpf

IIR, high-pass filtering; Apply a high-pass filter to the audio signal

Syntax

y = hpf ( x,fcut,order[=8],type[=1],dBpass[=.5],dBstop[=-40] )
y = x.hpf ( fcut,order[=8],type[=1],dBpass[=.5],dBstop[=-40] )

Inputs

ArgumentTypeDescriptionUnit
xaudioaudio signalHz
fcutscalarcut-off frequencydB
orderscalarorder of the IIR filterdB
typescalarIIR filter type (1: Butterworth, 2: Chebyshev, 3: Elliptic)-
dBpassscalarPassband ripple allowed-
dBstopscalarStopband attenuation-

Outputs / Return Value

Notes

Examples

hpf(x, 2000)

See Also

Review Status