fdesign.hilbert
Hilbert filter specification object
Syntax
d = fdesign.hilbert
d = fdesign.hilbert(specvalue1,specvalue2)
d = fdesign.hilbert(spec
)
d = fdesign.hilbert(spec
,specvalue1,specvalue2)
Fs d = fdesign.hilbert(…)
d = fdesign.hilbert(...,MAGUNITS)
Description
d = fdesign.hilbert
constructs a default Hilbert filter designerd
withN
, the filter order, set to 30 andTW
, the transition width set to 0.1π radians/sample.
d = fdesign.hilbert(specvalue1,specvalue2)
constructs a Hilbert filter designerd
assuming the default specification'N,TW'
. You inputspecvalue1
和specvalue2
forN
和TW
.
d = fdesign.hilbert(
initializes the filter designerspec
)Specification
property tospec
. You provide one of the following as input to replacespec
. The specification options are not case sensitive.
Note
Specifications marked with an asterisk require the DSP System Toolbox™ software.
'N,TW'
default specification option.'TW,Ap'
*
The filter specifications are defined as follows:
Ap
— amount of ripple allowed in the pass band in decibels (the default units). Also called Apass.N
— filter order.TW
— width of the transition region between the passband and the stopband.
By default,fdesign.hilbert
假设所有频率规格均以归一化频率单位提供。同样,分贝是所有级规范的默认值。
Different specifications may have different design methods available. Use设计methods
(d)
获取可用于给定规范的设计方法的列表。
d = fdesign.hilbert(
initializes the filter designer specifications inspec
,specvalue1,specvalue2)spec
withspecvalue1
,specvalue2
, and so on. To get a description of the specificationsspecvalue1
和specvalue2
, enter
get(d,'description')
at the Command prompt.
Fs d = fdesign.hilbert(…)
adds the argumentFs
, specified in Hz to define the sampling frequency. In this case, all frequencies in the specifications are in Hz as well.
d = fdesign.hilbert(...,MAGUNITS)
specifies the units for any magnitude specification you provide in the input arguments.MAGUNITS
can be one of
'linear'
— specify the magnitude in linear units'dB'
— specify the magnitude in dB (decibels)'squared'
— specify the magnitude in power units
When you omit theMAGUNITS
argument,fdesign
assumes that all magnitudes are in decibels. Note thatfdesign
stores all magnitude specifications in decibels (converting to decibels when necessary) regardless of how you specify the magnitudes.