Project 1

agerasiaetherealAI and Robotics

Nov 24, 2013 (3 years and 4 months ago)

71 views

EC4910: Computer Project 1


Problem.


The

file DATA.WAV contains
two channels of music
. The signal
1
[ ]
y n

is
in
channel 1
(
the lower half of the spectrum
(
0/4
s
F F
 
)
while

the signal
2
[ ]
y n

is
Single Side
Band modulated

at
the higher half

of the spectrum

(
/4/2
s s
F F F
 
), with
s
F

the
sampling frequency (CD quality
44.1kHz).



Q1:

using Matlab,

take the FFT of the signal and determine

the bandwidth
s of

the two
signals.


Q2: using Simulink, design and i
mplement the system shown below, where you can
switch between the two channels. Design all

filters in Matlab using firpm and
implement
them in Simulink using
Digital Filter.



Q3: design the filters using
F
DATool.


Notes on Simulink:



Digital Filter
in the blockset
Signal Processing>Filtering>Filter
Implementations



FDATool

for digital filtering in the blockset
Signal Processing > Filtering >
F
ilter Design


from file
LPF
HPF
LPF
Channel 1
Channel 2
from file
LPF
HPF
LPF
Channel 1
Channel 2

4
s
F
2
s
F
Channel 1
Channel 2
( )
F Hz
4
s
F
2
s
F
Channel 1
Channel 2
( )
F Hz


From
Multimedia

File

in the blockset
Signal Processing >
Sources




To Audio Device

in the blockset
Signal Processing>Sinks



Sine Wave

in
Signal Processing
>

Sources



Product
in
Simulink > Math Operations



Manual Switch
in
Simulink >

Signal Routing