MATLAB 帮助中心
Bandwidth in number of octaves
N = getOctaveBandwidth(npFilter)
N = getOctaveBandwidth(npFilter) returns the bandwidth of the notch peak filter, measured in number of octaves.
N
npFilter
example
collapse all
Create a dsp.NotchPeakFilter object with the NormalizedFrequency property set to true.
dsp.NotchPeakFilter
NormalizedFrequency
true
np = dsp.NotchPeakFilter(NormalizedFrequency=true)
np = dsp.NotchPeakFilter with properties: Specification: 'Bandwidth and center frequency' Bandwidth: 0.1000 CenterFrequency: 0.5000 NormalizedFrequency: true
Determine the octave bandwidth of the filter using the getOctaveBandwidth function.
getOctaveBandwidth
getOctaveBandwidth(np)
ans = 0.2881
Visualize the filter response using filterAnalyzer.
filterAnalyzer
filterAnalyzer(np)
Notch peak filter whose bandwidth is measured in octaves, specified as a dsp.NotchPeakFilter object.
Bandwidth of the filter measured in number of octaves, returned as a scalar.
Data Types: double
double
expand all
In the dsp.NotchPeakFilter object, you can now specify the 3-dB bandwidth and center frequency values in normalized frequency units (0 to 1). To enable this functionality, set the NormalizedFrequency property of the object to true.
getBandwidth
getCenterFrequency
getQualityFactor
tf
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处