Help CenterHelp Center
Bandwidth in number of octaves
N = getOctaveBandwidth(npFilter)
example
N= getOctaveBandwidth(npFilter)returns the bandwidth of the notch peak filter, measured in number of octaves.
N= getOctaveBandwidth(npFilter)
N
npFilter
collapse all
创建一个dsp.NotchPeakFilterobject in the default configuration.
dsp.NotchPeakFilter
np = dsp.NotchPeakFilter
np = dsp.NotchPeakFilter with properties: Specification: 'Bandwidth and center frequency' Bandwidth: 2205 CenterFrequency: 11025 SampleRate: 44100
Determine the octave bandwidth of the filter using thegetOctaveBandwidthfunction.
getOctaveBandwidth
getOctaveBandwidth(np)
ans = 0.2881
Visualize the filter response usingfvtool.
fvtool
fvtool(np)
Notch peak filter whose bandwidth is measured in octaves, specified as adsp.NotchPeakFilterobject.
Bandwidth of the filter measured in number of octaves, returned as a scalar.
Data Types:double
double
getBandwidth
getCenterFrequency
getQualityFactor
tf
You have a modified version of this example. Do you want to open this example with your edits?
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.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:.
You can also select a web site from the following list:
年代elect the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office