Code covered by the BSD License  

Highlights from
octave

4.65

4.7 | 21 ratings Rate this file 102 Downloads (last 30 days) File Size: 16.29 KB File ID: #69

octave

by Christophe COUVREUR

 

29 Dec 1997

Generates normalized A-weigthing, -weighting, octave and one-third-octave digital filters.

Editor's Notes:

This file was a File Exchange Pick of the Week

| Watch this File

File Information
Description

This series of M-files generates normalized A-weigthing, C-weighting, octave and one-third-octave digital filters. These type of filters are commonly used in acoustical measurements, for example, in noise control. The implementation is based on the IEC standard for A- and C-weighting filters and on the ANSI and IEC standards for octave and one-third-octave filters. A complete one-third-octave analyzer with graphical output is also provided.

Acknowledgements
This submission has inspired the following:
Reverberation Time Calculator, Real time octave analysis, One-third-octave filter bank, including additional inputs and outputs, Calibrated Spectral Analysis, Nth_Oct_Hand_Arm_&_AC_Filter_Tool_Box
MATLAB release MATLAB 5.2 (R10)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (23)
28 Sep 2001 Boyko Stoimenov

Great tool! I use it everyday in my research. Thanks.

18 Oct 2001 Scott Hirsch

This is a great toolbox - I really like that it cites the ANSII standards. I tell all of my acoustics friends about it!

03 Oct 2002 William Murphy

An excellent tool for doing octave and third octave band analysis. We are using it for analyzing different types of noise recordings that are collected in field studies. It provides a means to tranlate FFT transfer functions to more comprehensible data for the layperson.

03 Oct 2002 William Murphy

An excellent tool for doing octave and third octave band analysis. We are using it for analyzing different types of noise recordings that are collected in field studies. It provides a means to tranlate FFT transfer functions to more comprehensible data for the layperson.

04 Oct 2002

Its really a useful tool. Great!

11 Mar 2003 Boyko Stoimenov

BUG Warning!!
It seems this submission is growing in popularity with about 2000 downloads now, and is being used by other subimissions too (Scott Hirsch's 'Real time octave analysis'). Some time ago I found a bug in the 'Leq.m' function which is also used by 'filtbank.m'. Here are the comments from my m-file:

% Leq in decibels is calculated as
% 10*log10(Prms.^2/Pref.^2)
% In the code Prms.^2 is calculated as
% p(i) = sum(x((i-1)*t+1:i*t).^2)/t;
% which is correct, but
% in the next code block Leq is calculated in dB as
% p(idx) = 10*log10(p(idx)/Pref);
% which is correct only for reference Pref=1 (1.^2 = 1)
% For Pref~=1 the code should be
% p(idx) = 10*log10(p(idx)/Pref.^2)

12 Jun 2003 Jorge Higuera

excellent for learning DSP

16 Dec 2003 Diego Andrés

Perfect for acoustics. I use it every day!

03 Sep 2004 Herb Singleton

Note: if you're trying to run adsgn.m or cdsgn.m under GNU Octave (with Matcompat or Octave-forge), the line

[B,A] = bilinear(NUMs,DENs,Fs);

Should be changed to

[B,A] = bilinear(NUMs,DENs,1/Fs);

to account for Octave's syntax.

20 Apr 2005 Sreeram Shenoy

hey too good...solved a major problem for us...thanks a ton

20 Apr 2005 Ganesh shenai

good work man.... thanks

06 May 2005 Rick Stauf

These routines helped make wind tunnel test successful.

18 Jul 2005 Marie-Hélène Lavoie

Excellent... save me many hours of coding
Bravo

18 Aug 2005 Kjell Groendahl

Great! Saved a lot of coding and reading in standards. Why not include these in the signal processing toolbox?

10 Feb 2006 Brian Gygi  
25 May 2006 Dilman de la Fuente

Fantastic...i can't stop using it, and Boyco...you couldn't be more right...thanks

23 Aug 2006 Irinejus Marmakas  
21 Dec 2006 Jim Nicholson

Christophe provides easy to use code of great practical value. Anyone working in acoustics should be aware of this work.

24 Jun 2007 prem shankar  
07 Jan 2008 Michiel Heyns

I tested the 1/3rd octave algorithm with several sine waves and found it more than accurate anough for analysis. Thank you.

23 Jul 2008 Erich Everbach

Thanks for this excellent tool.

15 Sep 2008 Reuben Hale

CLean accurate and well documented

26 Sep 2008 Sunil Fernandes

Thank you much for this.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
filter design Christophe COUVREUR 22 Oct 2008 06:31:26
filter analysis Christophe COUVREUR 22 Oct 2008 06:31:26
normalized Christophe COUVREUR 22 Oct 2008 06:31:26
octave Christophe COUVREUR 22 Oct 2008 06:31:26
filter Christophe COUVREUR 22 Oct 2008 06:31:26
digital Christophe COUVREUR 22 Oct 2008 06:31:26
octave Jorge 26 Jul 2009 13:50:40
normalized Jorge 26 Jul 2009 13:50:45
filter analysis Sneha Singh 24 Oct 2010 23:43:16
sound Jose Ercolino 17 Apr 2011 11:58:58
filter Jose Ercolino 17 Apr 2011 11:58:58
weighting Jose Ercolino 17 Apr 2011 11:58:58
measurement Jose Ercolino 17 Apr 2011 11:58:58
acoustics Jose Ercolino 17 Apr 2011 11:58:58
acoustics Jeroen 09 Jun 2011 10:58:21
acoustics Anand 17 Nov 2011 02:36:07

Contact us at files@mathworks.com