Solutions of Assignment#2-EE 361/chapter 2: T T T T T
Solutions of Assignment#2-EE 361/chapter 2: T T T T T
t t t
5 5 3 1 7 5 5 15
2 2 2 2 2 2
(d) t 1
(e) 2t 1 Is this a time-scaled version of t 1 ? Yes, time-scaled by 2.
version of t 2 .
t 1 / 2 t 1
t 1 2t 1
1 / 2
2 t 1
1 / 2
t t t
1 1 3 113 3 1 5
2 2 424 4 4
1
Q.2 Find the energy and power of the following signals and classify them as
energy or power signals.
2
Ez z t dt
2
t 10
20 cos 50t dt
5
25/2
400 cos2 50t dt
15/2
25/2 25/2 1
200 dt cos 100t dt using cos2 1 cos 2
15/2 15/2 2
sin 100t
25/2
200 5
100
15/2
0
0
sin 1250t sin 750t
200 5
100
1000
Ey Py 0
The signal is an energy signal, since Ey
2
Q.3 A function generator produces the periodic waveform shown below:
y t
5 4 3 2 1 0 1 2 3 4 5
y t
1
3
Q.4 Express the following signals in terms of and .
f t g G
4 1 2
1
2
t
0 1 2 t 0 t 2 1 0 1 2
(a) (b) (c)
w t
1
T
t
T
1
(d)
a)
1 3
f t 2 t 4 t
2 2
t 1 1
4 2 t
2 2
t 1 3
2 2 t
2 2
b)
g 1
t
c)
G 2
4 2
3 3
2 2
2 2 2
3 3
4 2 2
4
d)
t T t T
w t 2 2
T
T
t T
t
2 2
2T T
t T
t
2 2
2T T
4 2 0 2 4
t
For n 0 , we have
1
w t dt
T0 T0
W0
1 2
2 t dt
2 0
1
5
For n 0 , we have
1
w t e 0 dt
jn t
Wn
T0 0 T
1 2
2 t e jn tdt
2 0
2 1 2
e jn tdt te jn tdt
0 2 0
2 2
e jn t 1 jte jn t 1 jte jbt 1
n n 22 e
jn t
using te jbtdt 2 e jbt
jn 0 2 0 b b
1 e j 2n
1 2 je j 2n
e j 2n
1
using e j 2n 1
jn 2 n n 2 2
j
n
Therefore,
1, n0
Wn j
, n 0
n
(c) Using MATLAB (if possible), plot the magnitude and phase spectra of w t .
%Program Q.5c.m
close all;clear all;clc
n=-10:10;
W=-1j./(n*pi);
W(11)=1;
subplot(2,1,1);
stem(n,abs(W));
xlabel('$n$','interpreter','latex');
ylabel('$\left|W_n\right|$','interpreter','latex');
subplot(2,1,2);
stem(n,angle(W));
xlabel('$n$','interpreter','latex');
ylabel('$\angle{W_n}$','interpreter','latex');
6
7