File Exchange

image thumbnail

Nth Octave Frequency Bands

version 1.2 (7.31 KB) by

Calculates the 1/Nth octave center and edge frequency bands from minf to maxf.



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

Comments and Ratings (1)


ufuk (view profile)



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.


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

Fixed a bug which occurs when the frequency range [min_f, max_f] does not include 1000 Hz. Also zipped the dependent sd_round program.

Added rounding last digit to nearest
multiple of 5. Added Examples. Updated Comments.

MATLAB Release
MATLAB 8.1 (R2013a)

Inspired by: octave, Octave centre frecuencies

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today