FIR or IIR highpass filter
dsp.HighpassFilter
independently filters each
channel of the input over time using the given design specifications.
You can set the FilterType
property of dsp.HighpassFilter
to 'FIR'
or 'IIR'
to
implement the object as a FIR or IIR highpass filter. This object
supports fixedpoint operations, HDL code generation, and ARM Cortex
code generation.
To filter each channel of your input:
Define and set up your highpass filter. See Construction.
Call step
to filter each channel
of the input signal according to the properties of dsp.HighpassFilter
.
The input signal can be a real or complexvalued column vector or
matrix, with floating point or fixedpoint precision. If the input
signal is a matrix, each column of the matrix is treated as an independent
channel. The number of rows in the input signal denote the channel
length.
Starting in R2016b, instead of using the step
method
to perform the operation defined by the System
object™, you can
call the object with arguments, as if it were a function. For example, y
= step(obj,x)
and y = obj(x)
perform
equivalent operations.
HPF = dsp.HighpassFilter
returns a minimum
order FIR highpass filter, HPF
, with the default
filter settings. Calling step
with the default property
settings filters the input data with a stopband frequency of 8
kHz,
a passband frequency of 12
kHz, a stopband attenuation
of 80
dB, and a passband ripple of 0.1
dB.
returns
a highpass filter, with additional properties specified by one or
more HPF
= dsp.HighpassFilter(Name,Value
)Name,Value
pair arguments. Name
is
the property name and Value
is the corresponding
value. Name
must appear inside single quotes
(' '). You can specify several namevalue pair arguments in any order
as Name1,Value1,...,NameN,ValueN
.
measure  Measure frequency response characteristics of dsp.HighpassFilter System
object. 
reset  Reset internal states of highpass filter 
step  Filter input using FIR or IIR highpass filter 
For additional methods, see Analysis Methods for Filter System Objects.
For a complete list of analysis methods supported for the dsp.HighpassFilter
object,
enter dsp.HighpassFilter.helpFilterAnalysis
at
the MATLAB^{®} command prompt.
Common to All System Objects  

clone  Create System object with same property values 
getNumInputs  Expected number of inputs to a System object 
getNumOutputs  Expected number of outputs of a System object 
isLocked  Check locked states of a System object (logical) 
release  Allow System object property value changes 
Argument  Supported Data Types 

Input 

Output 

[1] Shpak, D.J., and A. Antoniou. "A generalized Remez method for the design of FIR digital filters." IEEE^{®} Transactions on Circuits and Systems. Vol. 37, Issue 2, Feb. 1990, pp. 161–174.
[2] Selesnick, I.W., and C. S. Burrus. "Exchange algorithms that complement the ParksMcClellan algorithm for linearphase FIR filter design." IEEE Transactions on Circuits and Systems. Vol. 44, Issue 2, Feb. 1997, pp. 137–143.