Professional Documents
Culture Documents
HOMEWORK ASSIGNMENT #4
Assigned: 10/13/21
Due: 10/27/21 (11:59 PM)
5. Frequency Response II: Please do Problem P-6.14 on page 234, parts (a) – (c) only, you do not need to do
part (d)
6. Creating and Applying Filters. Download and load into MATLAB the file HW4Problem6.mat. The
file contains a signal x and sampling frequency fs. The signal is the C major scale that we have looked at in
class.
7. Secret Message from the Boss. Your supervisor has encoded a secret message for you in an audio
recording using AM modulation and interference so no one else can hear it. Download the file
HW4Problem7.mat, which has the variables x,fs and h2. h2 is the impulse response of one of the
filters you need. Apply the following systems to the input signal x to get the audio message y. You will
need to create the filter h1 on your own. Use sound(y, fs) to listen to the message. Submit an audio file of
the message signal y.
Mixer
(multiplication)
Lowpass filter h1
x[n] Interference y[n]
with cutoff at
removal
3000 Hz and 1024
filter h2 given
elements
in file
cos(2π4000t)
Hints:
You can listen to the signal at any point using sound(y, fs)
To do the multiplication in the mixer you will have to create a time vector of right length and with Δt=1/fs
If you do all steps correctly you should not only hear a clear voice but also a phone ring in the
background at the beginning.