NarrowToNthOctave

Coverts any narrowband decibel values to 1/n octave band (e.g 1st or 1/3 octave bands)
1.9K Downloads
Updated 8 Mar 2019

View License

This function takes narrow band data and converts it to 1/n octave data. Typical uses will be where data were acquired with a constant delta frequency (e.g. from time domain data converted to frequency domain with a FFT), but the user will want this data in octave or 3rd octave form. This function solves the problem of how to convert the data.
[OctaveData,OctaveCenterFrequencies,Flow,Fhigh] = NarrowToNthOctave(narrowFreqArray,narrowdBArray,1)
[thirdOctaveData,ThirdOctaveCenterFrequencies,Flow,Fhigh] = NarrowToNthOctave(narrowFreqArray,narrowdBArray,3)

Cite As

Troy Bouman (2024). NarrowToNthOctave (https://www.mathworks.com/matlabcentral/fileexchange/52386-narrowtonthoctave), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
4.2.0.0

I removed the example code showing how to adjust for amplitude correct factor (ACF) if you wanted to.

4.1.0.0

Uploaded the wrong file for 4.0 :) 4.1 is correct.

4.0.0.0

Added functionality to adjust for the case where data were processed via a window using an amplitude correction factor. Data going into this function must use energy correction factor. The beginning of the function now alloww you to adjust for that.

3.0.0.0

Spelling change in description.