Code covered by the BSD License  

Highlights from
Nth Octave Frequency Bands

Be the first to rate this file! 14 Downloads (last 30 days) File Size: 6.25 KB File ID: #19033

Nth Octave Frequency Bands

by Edward Zechmann

 

03 Mar 2008 (Updated 18 Dec 2008)

Calculates the 1/Nth octave center frequencies bands from minf to maxf.

| Watch this File

File Information
Description

This program calculates the 1/N-octave band center frequencies and also the lower and upper bounds of every frequency band from min_f to max_f (Hz). The frequency arrays are also ouput in a cell of string of characters for plotting purposes.

This progarm satisfies ANSI S1.6 for octave and third octave band center frequencies. The program uses two stages of rounding.
The estimated center frequencies are rounded to 3 significant digits and the last digit is rounded to the nearest multiple of five. If the center frequencies are within 1% of their value when rounded to one significant digit, then the value is rounded to one significant digit.

If you find a bug or have a question please post a comment or send an email to ezechma1@hotmail.com

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Octave centre frecuencies

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
19 Aug 2008

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

21 Aug 2008

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.

26 Aug 2008

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

18 Dec 2008

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

Tag Activity for this File
Tag Applied By Date/Time
spectral analysis Edward Zechmann 22 Oct 2008 09:51:27
octave Edward Zechmann 22 Oct 2008 09:51:27
frequency bands Edward Zechmann 22 Oct 2008 09:51:27
bands Edward Zechmann 22 Oct 2008 09:51:27
spectra Edward Zechmann 22 Oct 2008 09:51:27
center frequencies Edward Zechmann 22 Oct 2008 09:51:27

Contact us at files@mathworks.com