freqsamp
Real or complex frequency-sampled FIR filter from specification object
Syntax
hd = design(d,'freqsamp','SystemObject',true)
hd = design(...,'filterstructure',structure,'SystemObject',true)
hd = design(...,'window',window,'SystemObject',true)
Description
hd = design(d,'freqsamp','SystemObject',true)
designs a frequency-sampled filter specified by the filter specifications objectd
.
hd = design(...,'filterstructure',structure,'SystemObject',true)
returns a filter with the filter structure you specify by thestructure
input argument.structure
isdffir
by default and can be any one of the following filter structures.
Structure |
Description of Resulting Filter Structure |
---|---|
|
Direct-form FIR filter |
|
Transposed direct-form FIR filter |
|
对称的直接形式冷杉过滤器 |
|
Asymmetrical direct-form FIR filter |
hd = design(...,'window',window,'SystemObject',true)
designs filters using the window specified bywindow
.Provide the input argumentwindow
as
A character vector for the window type. For example, use
'bartlett'
, or'hamming'
.看到window
for the full list of windows available.A function handle that references the
window
function. When thewindow
function requires more than one input, use a cell array to hold the required arguments. The first example shows a cell array input argument.The window vector itself.