Lab01-1
Lab01-1
Lab01-1
Review/study and run the MATLAB file “windowing.m” provided on the website.
It produces the plots attached at the end that correspond to Part 1.
xi(t), i = 1, 2, 3 xP(t)
2. The signal
x(t ) = cos(2π(0.5)t ) + cos(2π(0.6)t ) , t in [ms]
is analyzed using three rectangular windows:
i. x1 (t ) = x(t ) ⋅ w(t ) ,
ii. x2 (t ) = x(t ) ⋅ w(t / 2) , and
iii. x3 (t ) = x (t ) ⋅ w(t / 4) ,
using the same window w(t) defined in part 1.
Using MATLAB sample these three signals at a sampling rate fS = 4 kHz and:
a) Plot their time representation for those intervals the signals are not zero,
b) Plot their spectra for the frequency range 0 to 1kHz. Use a 2,000 points DFT.
c) Are there any significant differences among the spectra obtained? Are both
frequency components, 500 & 600Hz, clearly recognized in all cases? Explain.
†
=
ECED 4502 – DSP Lab 1