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)
Troy Bouman (2021). NarrowToNthOctave (https://www.mathworks.com/matlabcentral/fileexchange/52386-narrowtonthoctave), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!