Highpass-filter signals
filters the input signal y = highpass(x,wpass)x using a highpass filter with
normalized passband frequency wpass in units of
π rad/sample. highpass uses a
minimum-order filter with a stopband attenuation of 60 dB and compensates for
the delay introduced by the filter. If x is a matrix, the
function filters each column independently.
specifies additional options for any of the previous syntaxes using name-value
pair arguments. You can change the stopband attenuation, the transition band
steepness, and the type of impulse response of the filter.y = highpass(___,Name,Value)
[
also returns the y,d] = highpass(___)digitalFilter object
d used to filter the input.
highpass(___) with no output arguments plots
the input signal and overlays the filtered signal.