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.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- 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)