freqsamp
Real or complex frequency-sampled FIR filter from specification object
Syntax
hd = design(d,'freqsamp')
hd = design(...,'FilterStructure',structure)
hd = design(...,'Window',window)
Description
hd = design(d,'freqsamp')
designs
a frequency-sampled filter specified by the filter specifications
object d
.
hd = design(...,'FilterStructure',structure)
returns
a filter with the filter structure you specify by the structure
input
argument. structure
is dffir
by
default and can be any one of the following filter structures.
Structure | Description of Resulting Filter |
---|---|
| Direct-form FIR filter |
| Transposed direct-form FIR filter |
| Symmetrical direct-form FIR filter |
| Asymmetrical direct-form FIR filter |
| Fast Fourier transform FIR filter |
hd = design(...,'Window',window)
designs
filters using the window specified in window
. Provide
the input argument window
as
The window name in single quotes. For example, use
'bartlett'
, or'hamming'
. Seewindow
for the full list of available windows.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.
Examples
Version History
Introduced in R2009a