NarrowToNthOctave
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
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. |