204 6. CONTINUOUS-TIME FOURIER TRANSFORM
Table 6.2: Alphabet letters encoded with Morse code
A .‒ H .... O ‒ ‒ ‒ V ... ‒
B ‒… I .. P . ‒ ‒. W . ‒ ‒
C ‒. ‒. J .‒ ‒ ‒ Q ‒ ‒. ‒ X ‒.. ‒
D ‒.. K ‒. ‒ R . ‒. Y ‒. ‒ ‒
E . L . ‒.. S ... Z ‒ ‒..
F .. ‒. M ‒ ‒ T ‒
G ‒ ‒. N ‒. U .. ‒
Find the prototype signals d(t) and dash(t) in the supplied file morse.mat. After load-
ing the file morse.mat:
>>load morse
e signals d(t) and dash(t) can be located in the vectors dot and dash, respectively. e
hidden signal, which is encoded, per Equation (6.9), containing the letters of the name, in the
vector xt . Let the three modulation frequencies f
1
, f
2
, and f
3
be 20, 40, and 80 Hz, respectively.
1. Using the amplitude modulation property of the CTFT, determine the three possible
letters and the hidden name. (Hint: Plot the CTFT of xt. Use the values of T and
contained in the file.)
2. Explain the strategy used to decode the message. Is the coding technique ambiguous? at
is, is there a one-to-one mapping between the message waveforms .x
m1
.t/; x
m2
.t/; x
m3
.t//
and the alphabet letters? Or can you find multiple letters that correspond to the same
message waveform?
6.4.2 THE DOPPLER EFFECT
e Doppler Effect phenomenon was covered in the previous chapter. In this exercise, let us
examine the Doppler Effect with a real sound wave rather than a periodic signal. e wave file
firetrucksiren.wav provided in the book software package contains a firetruck siren. Read the
file using the MATLAB function audioread and produce its upscale and downscale versions.
Show the waves in the time and frequency domains (find the CTFT). Figure 6.32 shows the
original sound, the sound as the vehicle approaches, and the sound after the vehicle passes by in
both the time-domain and frequency domains.