| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>Ltas: Get mean...</title> |
| 3 | <style> |
| 4 | td { padding-left: 5pt; padding-right: 5pt; } |
| 5 | th { padding-left: 5pt; padding-right: 5pt; } |
| 6 | code { white-space: pre-wrap; } |
| 7 | dd { white-space: pre-wrap; } |
| 8 | </style> |
| 9 | </head><body bgcolor="#FFFFFF"> |
| 10 | |
| 11 | <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 | Ltas: Get mean... |
| 13 | </b></font></table></table> |
| 14 | <p>A <a href="Query_submenu.html">query</a> to the selected <a href="Ltas.html">Ltas</a> object.</p> |
| 15 | <h2>Return value</h2> |
| 16 | <p>the mean value (in dB) within a specified frequency range.</p> |
| 17 | <h2>Settings</h2> |
| 18 | <dl> |
| 19 | <dt><b>From frequency (Hz))</b> |
| 20 | <dt><b>To frequency (Hz)</b> |
| 21 | <dd>the frequency range. Values outside this range are ignored. If <b>To frequency</b> is not greater than <b>From frequency</b>, the entire frequency domain of the Ltas is considered.</dd> |
| 22 | </dl> |
| 23 | <h2>Algorithm</h2> |
| 24 | <p>The mean value between the frequencies <i>f</i><sub>1</sub> and <i>f</i><sub>2</sub> is defined as</p> |
| 25 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle>1/(<i>f</i><sub>2</sub> - <i>f</i><sub>1</sub>) ∫<sub><i>f</i>1</sub><sup><i>f</i>2</sup> <i>df</i> <i>x</i>(<i>f</i>)</table> |
| 26 | <p>where <i>x</i>(<i>f</i>) is the LTAS as a function of frequency, expressed in dB. For our discrete Ltas object, this mean is approximated by</p> |
| 27 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle>1/<i>n</i> ∑<sub><i>i</i>=<i>m</i>..<i>m</i>+<i>n</i>-1</sub> <i>x</i><sub><i>i</i></sub></table> |
| 28 | <p>where <i>n</i> is the number of band centres between <i>f</i><sub>1</sub> and <i>f</i><sub>2</sub>.</p> |
| 29 | <hr> |
| 30 | <address> |
| 31 | <p>© ppgb 20041122</p> |
| 32 | </address> |
| 33 | </body> |
| 34 | </html> |