| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>Polynomial: To Spectrum...</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 | Polynomial: To Spectrum... |
| 13 | </b></font></table></table> |
| 14 | <p>A command to compute the <a href="Spectrum.html">spectrum</a> of the selected <a href="Polynomial.html">Polynomial</a> objects.</p> |
| 15 | <h2>Settings</h2> |
| 16 | <dl> |
| 17 | <dt><b>Nyquist frequency (Hz)</b> |
| 18 | <dd>defines the highest frequency in the spectrum. The lowest frequency of the spectrum will be 0 Hz.</dd> |
| 19 | <dt><b>Number of frequencies</b> |
| 20 | <dd>defines the number of frequencies in the spectrum.</dd> |
| 21 | </dl> |
| 22 | <h2>Algorithm</h2> |
| 23 | <p>We calculate the spectrum by evaluating the polynomial at regularly spaced points <i>z</i><sub><i>k</i></sub> on the upper half of a circle with radius <i>r</i> = 1 in the complex plane. The upperhalf of the unit circle, where <i>k</i>·<i>φ</i> is in the interval [0, <i>π</i>], will be mapped to frequencies [0, <a href="Nyquist_frequency.html">Nyquist frequency</a>] in the spectrum. </p> |
| 24 | <p>The complex values <i>z</i><sub><i>k</i></sub> (<i>k</i>=1..<i>numberOfFrequencies</i>) are defined as:</p> |
| 25 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>z</i><sub><i>k</i></sub> = <i>r</i> e<sup><i>i</i> <i>k</i> <i>φ</i></sup>, where,</table> |
| 26 | <table width="100%" style="white-space:pre-wrap"><tr><td align=middle><i>φ</i> = π / (<i>numberOfFrequencies</i> – 1) and <i>r</i> = 1.</table> |
| 27 | <hr> |
| 28 | <address> |
| 29 | <p>© djmw 19990616</p> |
| 30 | </address> |
| 31 | </body> |
| 32 | </html> |