Speech and Language Processing Seminar
Exercise 1
Complete the columns of the following table. Use e.g. the attached table of cosines, and/or a pocket calculator.
| i | i×17° | cos(i×17°) | 32000*cos(1×17°), to nearest whole number |
|---|---|---|---|
| 0 | 0° | 1.0000 | 32000 |
| 1 | 17° | 0.9563 | 30603 |
| 2 | 34° | 0.8291 | 26534 |
| 3 | 51° | 0.6296 | 20148 |
| 4 | 68° | 0.3751 | |
| 5 | 85° | 0.0878 | |
| 6 | 102° | -0.2070 | |
| 7 | 119° | -0.4839 | |
| 8 | 136° | -0.7185 | |
| 9 | 153° | -0.8904 | |
| 10 | 170° | -0.9845 | |
| 11 | |||
| 12 | |||
| 13 | |||
| 14 | |||
| 15 | |||
| 16 | |||
| 17 | |||
| 18 | |||
| 19 | |||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | |||
| 25 | |||
| 26 | |||
| 27 | |||
| 28 |
Exercise 2
On 1mm squared paper (available from the lab), plot 32000×cos(i*17°) on the shorter dimension against i on the longer dimension. (On A4 paper there are 28 10mm squares in this dimension). Hint: use a scale of 5000 units to 1 10mm square on the shorter dimension, with values in the range -35000 to +35000. Another way of phrasing this exercise is: sketch a cosine wave, taking samples at 17° intervals.