designBandstopFIR
Description
designs a bandstop
FIR filter with the filter order of 100, center frequency of 0.5, bandwidth of 0.1, and
a Hamming window. B is a vector of filter coefficients of length 101.B
= designBandstopFIR
The System object™ argument is false
by default. To implement the filter,
assign the filter coefficients in B
to a dsp.FIRFilter
object.
specifies options using one or more name-value arguments.B
= designBandstopFIR(Name=Value
)
For example,
designs a bandstop FIR filter with the filter order of 30, center frequency of 0.4, and
a Hann window. As the B
=
designBandstopFIR
(FilterOrder
=30,CenterFrequency
=0.4,Window
="hann",SystemObject
=true)SystemObject
argument is
true
, the function designs and implements the bandstop FIR filter.
B
is a dsp.FIRFilter
System object in this case.
When you specify only a partial list of filter parameters, the function designs the filter by setting the other design parameters to their default values.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2023b
See Also
Functions
designBandstopIIR
|designBandpassFIR
|designLowpassFIR
|designHighpassFIR
|designMultirateFIR
|designFracDelayFIR