DocumentationHelp 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
npFilter
collapse all
Create a dsp.NotchPeakFilter object 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 the getOctaveBandwidth function.
getOctaveBandwidth
getOctaveBandwidth(np)
ans = 0.2881
Visualize the filter response using fvtool.
fvtool
fvtool(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
getBandwidth
getCenterFrequency
getQualityFactor
tf
Existe una versión modificada de este ejemplo en su sistema. ¿Prefiere abrir esta versión?
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
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:
Select 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