Main Content

Bandpass-filter signals

filters the input signal `y`

= bandpass(`x`

,`wpass`

)`x`

using a bandpass filter with a
passband frequency range specified by the two-element vector
`wpass`

and expressed in normalized units of
*π* rad/sample. `bandpass`

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 Bandpass Filter Steepness, and the
type of impulse response of the filter.`y`

= bandpass(___,`Name,Value`

)

`[`

also returns the `y`

,`d`

] = bandpass(___)`digitalFilter`

object
`d`

used to filter the input.

`bandpass(___)`

with no output arguments plots
the input signal and overlays the filtered signal.