Nth Octave Frequency Bands

Calculates the 1/Nth octave center and edge frequency bands from minf to maxf.
4K Downloads
Updated 27 Sep 2024

View License

This program calculates the 1/N-octave-band center and edge frequencies from min_f to max_f (Hz). The exact and nominal frequencies are output in arrays. The nominal frequencies are also output in a cell of string of characters for plotting purposes.
This program satisfies the frequency band requires established in ANSI S1.6 and ANSI S1.11.
If you find a bug or have a question please post a comment or send an email to ezechma1@hotmail.com

Cite As

Edward Zechmann (2024). Nth Octave Frequency Bands (https://www.mathworks.com/matlabcentral/fileexchange/19033-nth-octave-frequency-bands), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Octave centre frecuencies, octave

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.3.1.0

Added the Edge Boolean , Eb allowing the reference frequency to either be selected as a center or edge frequency.

1.3.0.1

Added the reference frequency, fr as an input variable and optimized the removal of fractional-octave-bands outside the range of min_f to max_f.

1.3.0.0

Revised the number of significant digits calculation for rounding. Limited the number of bands per octave from 1 to 10E12. A warning is issued if the number of bands is greater than 10E6.

1.2.0.0

Modified the even octave bands to have 1000 Hz as an edge frequency. Changed the number of significant digits calculation for rounding. Limited the number of bands per octave from 1 to 43.

1.1.0.0

Updated program to satisfy ANSI S1.6 for full octave bands and third octave bands.

1.0.0.0

Fixed a bug in rounding the frequencies. Previoius version did not allow frequencies less than 1 Hz.