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.
|
| 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. |
|
Contact us at files@mathworks.com