filtBW2Q

Compute the Q of a bandpass filter given the bandwidth in octaves
2 Downloads
Updated 13 Jul 2022

View License

When designing an audio bandpass filter, sometimes the desired bandwidth in octaves BWoct is specified, and the resulting Q (quality factor) needs to be calculated.
Syntax
Q = filtBW2Q(BWoct)
filtBW2Q()
The input value of BWoct may be either a scalar, a row vector, or a column vector. If a vector is provided, then the output will be the appropriate vector.
Invoking filtBW2Q() with no input arguments creates an example table of output results, which can be compared to the results that were published by Bohn (1983).
Reference
Bohn, Dennis (1983). Bandpass filter design. Studio Sound, January, pages 36–37. https://worldradiohistory.com/Archive-All-Audio/Archive-Studio-Sound/80s/Studio-Sound-1983-01.pdf

Cite As

Witold Waldman (2024). filtBW2Q (https://www.mathworks.com/matlabcentral/fileexchange/114970-filtbw2q), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0