audioBandwidthSpecification
Description
Examples
Use the audioBandwidthSpecification function to create a specification for a filter with a center frequency of 5000 Hz and a bandwidth of 500 Hz.
First, display the analog specifications.
spec = audioBandwidthSpecification(CenterFrequency=5000, ... Bandwidth=500,Domain="analog"); disp(spec)
CenterFrequency Bandwidth QualityFactor OctaveBandwidth CutoffFrequencies
_______________ _________ _____________ _______________ _________________
5000 500 10 0.14421 4756.2 5256.2
Then, display both the analog specification and the digital specification for a system with a sample rate of 16000 Hz.
spec = audioBandwidthSpecification(CenterFrequency=5000, ... Bandwidth=500,SampleRate=16000, ... Domain="analog and digital"); disp(spec)
CenterFrequency Bandwidth QualityFactor OctaveBandwidth CutoffFrequencies
_________________ _________________ _________________ __________________ ____________________________________
Analog Digital Analog Digital Analog Digital Analog Digital Analog Digital
______ _______ ______ _______ ______ _______ _______ _______ ________________ ________________
5000 5000 500 500 10 10 0.14421 0.14454 4756.2 5256.2 4744.9 5244.9
Input Arguments
Conversion options, specified as a comma-separated list of name-value arguments. You do not need to specify all possible name-value arguments.
Options
| Option | Type | Default |
|---|---|---|
CenterFrequency | 1-by-P vector of positive scalars | |
Bandwidth | 1-by-P vector of positive scalars | |
QualityFactor | 1-by-P vector of positive scalars | |
OctaveBandwidth | 1-by-P vector of positive scalars | |
CutoffFrequencies |
| |
Domain |
| "analog and digital" |
SampleRate | Positive scalar | 2 |
P is the number of designs.
You must specify some name-value with other name-value arguments:
CenterFrequencyandBandwidthCenterFrequencyandQualityFactorCenterFrequencyandOctaveBandwidth
Example: spec =
audioBandwidthSpecification(CenterFrequency=1000,SampleRate=16e3,Bandwidth=120)
Output Arguments
Conversion specifications, returned as a MATLAB table.
The output is a table displaying CenterFrequency,
Bandwidth, QualityFactor,
OctaveBandwidth, and CutoffFrequencies in analog
or digital form depending on the value specified by Domain.
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
Version History
Introduced in R2026a
See Also
MATLAB Command
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.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)