









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Problem 1: Sketch the following CT signals as function of the independent variable t over the specified
range.
iii) (^) 3( ) 5 3 for ( 2 2)
t x t t e t
− = + − ≤ ≤
iv) (^) ( ( ))
2 x 4( ) t = sin 3 π t 4 + π 8 for ( − 1 ≤ t ≤ 2)(added)
ix) 3[ ] 5 3 for ( 5 5)
k x k k k
− = + − ≤ ≤
xii) (^) 6[ ] 4 for ( 10 10)
k x k k k
− = − ≤ ≤ ▌
Solution:
The CT signals ((i) to (vi)) can be plotted in MATLAB as follows. The CT signals are plotted in Fig. 1.
% clear figure
clf
% signal defined in part (i)
t1 =-1:0.01:2 ;
x1 = cos(3pit1/4+pi/8) ;
subplot(3,2,1), plot(t1, x1), grid on
xlabel('t') % Label of X-axis
ylabel('x_1(t)') % Label of Y-axis
% signal defined in part (ii)
t2 =-1:0.01:2 ;
x2 = sin(-3pit2/8+pi/2) ;
subplot(3,2,2), plot(t2, x2), grid
xlabel('t') % Label of X-axis
ylabel('x_2(t)') % Label of Y-axis
% signal defined in part (iii)
t3 =-2:0.01:2 ;
x3 = 5t3+ 3exp(-t3);
subplot(3,2,3), plot(t3, x3), grid
xlabel('t') % Label of X-axis
ylabel('x_3(t)') % Label of Y-axis
% signal defined in part (iv)
t4 =-1:0.01:2 ;
x4 = sin(3pit4/4+pi/8) ; x4 =x4.*x4;
subplot(3,2,4), plot(t4, x4), grid
xlabel('t') % Label of X-axis
ylabel('x_4(t)') % Label of Y-axis
1
% signal defined in part (v)
t5 =-2:0.01:3 ;
x5 = cos(3pit5/4) + sin(pi*t5/2) ;
subplot(3,2,5), plot(t5, x5), grid
xlabel('t') % Label of X-axis
ylabel('x_5(t)') % Label of Y-axis
% signal defined in part (vi)
t6 =-2:0.01:3 ;
x6 = t6.exp(-2t6) ;
subplot(3,2,6), plot(t6, x6), grid
xlabel('t') % Label of X-axis
ylabel('x_6(t)') % Label of Y-axis
Fig 1: CT signals for Problem 1, parts (i) to (vi).
The DT signals ((vii) to (xii)) can also be plotted using the following MATLAB commands. The plots are
shown in Fig. 2.
% clear figure
clf
% signal defined in part (i)
k1 =-5:5 ;
x1 = cos(3pik1/4+pi/8) ;
subplot(3,2,1), stem(k1, x1, 'filled'), grid on
xlabel('k') % Label of X-axis
ylabel('x_1[k]') % Label of Y-axis
% signal defined in part (ii)
k2 =-10:10 ;
x2 = sin(-3pik2/8+pi/2) ;
subplot(3,2,2), stem(k2, x2, 'filled'), grid on
xlabel('k') % Label of X-axis
ylabel('x_2[k]') % Label of Y-axis
% signal defined in part (iii)
2
Problem 2 Determine if the following CT signals are periodic. If yes, calculate the fundamental period To
for the CT signals.
iv)
k x 1 [ k ]= 5 ×(− 1 )
v) (^) x 2[ ] k = exp (^) ( j (^) ( 7 π k (^4) )) +exp (^) ( j (^) ( 3 k (^4) ))
vi) x 4 [ ] k =sin( 3 π k 8 ) +cos( 63 π k 64 )
vii) (^) x 5[ ] k = exp (^) ( j (^) ( 7 π k (^4) )) + cos 4( π k 7 + π) ▌
Solution:
x 2( t + T ) = |cos(5π t /8 + 5π T 2 /8)|.
Comparing x 2( t ) with x 2( t + T ), it is clear that the two are equal if 5π T 2 /8 = π. This implies that T 2 = 8/5.
ii) We know that the fundamental periods of the individual terms are given by
( ) ( )
2 7 2 10 (^1 6) / 7 3 2 3 / 5 3
3( ) sin 6 7 2 cos 3 5
periodic periodic T T
x t t
π π π
π
= = = =
= + t
π
Calculating the ratio of the two periods
1 7 10 2
rational number 10 / 3
π π
Therefore, x 3 (^) ( ) t is not a periodic signal.
iii) x 5( t ) can be split into two terms
2 16 (^1 3) / 8 3
5( ) exp 3 8 exp 86
periodic not periodic T
x t j t t
π π
π π
= =
Since the second term is not periodic, the overall function x 5( t ) is not periodic.
iv) Expressing (−1) = e
j π , x 1[ k ] is expressed as
jk x k e
π = ×
Computing 1 [ ] 5 .For x 1[ k ] = x 1[ k + K
( ) 1
j k K 1 x k K e
π +
j π K 1 = 1 = e
j2π , which gives K 1 = 2.
v) Looking at the individual terms
( ( )) ( ( )) 1 4 2 4 4 3 4 1424 434 TermI TermII
x 2 [ k ]=exp j 7 π k 4 +exp j 3 k 4
Term I is periodic since ω 0 /2π = 7/8 is a rational number. Term II is not periodic since ω 0 /2π = 3/8π is not
a rational number. Signal x 2[ k ] is therefore not periodic.
vi) Looking at the individual terms
4
[ ] ( ) ( ) 14 243 1 4 2 4 4 3 4 TermI TermII
x 4 k =sin 3 π k 8 +cos 63 π k 64
Term I is periodic with a period K 41 of 16. Term II is also K 42 periodic with a period of 128. Since K 41 / K 42
= 1/8 is a rational number, x 4[ k ] is a periodic signal. Using Equation (1.9), the fundamental period of
x 4[ k ] is given by 16 n = 128 m. Picking n = 8 and m = 128, the overall period of x 4[ k ] is given by 128.
vii) Looking at the individual terms
( ( )) ( ) 1 4 2 4 4 3 4 1 4 2 4 4 3 4 1 2
5 [ ] exp 7 4 cos 4 7
Term Term
x k = j π k + π k +π
Term I is periodic with a period K 51 of 8. Term II is also K 42 periodic with a period of 7. Since K 41 / K 42 =
8/7 is a rational number, x 4[ k ] is a periodic signal. Using Equation (1.9), the fundamental period of x 4[ k ]
is given by 8 n = 7 m. Picking n = 7 and m = 8, the overall period of x 5[ k ] is given by 56.
Problem 3: Show that the average power of the DT periodic signal x [ k ] = A cos(Ω k ) is given by A
2 /2. ▌
Solution: By definition,
∑ [^ ]^ ∑
−
=
−
=
1
0
2
1 2
0
2 cos( ) cos( )
N
k
N
k
k N
A k N
where N is the fundamental period and is given by N = 2π/Ω. By expressing the squared cosine as a linear
term, we get
∑
−
=
∞
1
0
2
1 cos( 2 )
N
k
k
or,
∑ ∑
−
=
−
=
1
0
1 2
0
2
cos( 2 ) 2
N
k
N
k
k N
Using the Euler’s formula to express the cosine as a sum of two complex exponentials, gives
∑ ∑
−
=
− Ω
−
=
Ω ∞ = × + +
1
0
2
1 2
0
2
2 2
N
k
j k
N
k
j k e N
e N
We expand each complex exponential term as GP series to get
2
4
2
(^12)
0
−
Ω
π
Ω
− Ω
=
Ω ∑ (^) j
j
j
N j N
k
j k
e
e
e
e e
and
2
4
2
1 2
0
−
Ω
− π
Ω
− − Ω
=
− Ω ∑ (^) j
j
j
N j N
k
j k
e
e
e
e e.
Substituting the values of the exponentials in Eq. (1), we get
2 2 A A P ∞ (^) = + + = ,
which proves the result. ▌
Problem 4: Determine if the following CT signals are even, odd, or neither-even-nor-odd. In the later
case, evaluate and sketch the even and odd components of the CT signals.
5
Odd component: 3 [] 2 [ 1 [ ] 1 [ ]] sin( 7 / 4 ).
1 x (^) odd k = x k − x − k = j π k
vi) To see if the DT signal is even or odd, we evaluate
x k
k
k
k
k x k
k
k
−
Therefore, the DT signal is neither even nor odd.
The even and odd components of x 5[ k ] are given by
Even component:.
2
1
k
k
k
x k
k
k
even
Odd component:.
2
1
k
k
k
x k
k
k
odd ▌
Problem 5: Determine if the following CT signals are energy or power signals or neither. Calculate the
energy and power of the signals in each case.
ii) ( )
( )
0 elsewhere
cos 3 3 3 2
t t x t
iii) (^) ( )
iv) x 1 [ k ]=cos(π k / 4 )sin( 3 π k / 8 )(Changed)
v) (^3) [ (^) ] ( 1 )
k x k = −
vi) [ ] (Changed) ▌
⎪ ⎩
0 elsewhere
5 k
k
x k
k
Solution:
i) The CT signal
1
2
1
1 / 2
2
1
0 0
1 () cos( )sin( 3 ) sin( 4 ) sin( 2 )
= =
= π π = π + π
perioidicwithT perioidicwith T
x t t t t t
is periodic with the fundamental period T = 1. Since periodic signals are always power signals, x 1( t ) is a
power signal.
Total energy Ex 1 in x 1( t ) is infinite. Based on Problem 1.6, the average power in a sinusoidal signal x ( t ) =
A sin(ω 0 t + θ) is given by A
2 /2. The average power in x 1( t ) is, therefore, given by 1/8 + 1/8 = 1/4.
7
ii) The CT signal
( )
( )
0 elsewhere
cos 3 3 3 2
t t x t
is a finite duration signal. Since finite duration signals are always energy signals, x 2( t ) is an energy signal.
Average power Px 2 in x 2( t ) is zero. The total energy in x 2( t ) is given by
[ ] [ ] ∫ ∫ −
π − −
= π = + π = + π =
3
3
3 (^63)
1 2
1 2
1
3
3
2 E (^) x 2 cos ( 3 t ) dt 1 cos( 6 t ) dt t sin( 6 t ) 3.
iii) The CT signal
( )
is a finite duration signal. Since finite duration signals are always energy signals, x 5( t ) is an energy signal.
Average power Px 5 in x 5( t ) is zero. The total energy in x 5( t ) is given by
[ ] 3
16 3
8 3
8
4
2
3
( 4 )
2
0
3
2
0
4
2
2 2 5 (^4 )^0
3 3 = + − = − = − − =
− ∫ ∫
t t Ex tdt t dt.^ ▌
(iv) The DT signal can be expressed as
16
2
1
16
2
1
0 0
1 [ ] cos( / 4 )sin( 3 / 8 ) sin( 5 / 8 ) sin( / 8 )
= =
= π π = π + π
perioidicwithN perioidicwith N
x k k k k k
indicating that x 1[ k ] is periodic with an overall period of N 0 = 16. Since periodic signals are always power
signals, x 1[ k ] is a power signal.
Total energy Ex 1 in x 1( t ) is infinite. Based on Problem 1.6, the average power in a sinusoidal signal x [ k ] =
A sin(ω 0 k + θ ) is given by A
2 /2. The average power in x 1( t ) is, therefore, given by 1/4 + 1/4 = 1/2.
(v) The DT signal x 3[ k ] = (−1)
k is periodic with a period of N 0 = 2. Since periodic signals are always
power signals, x 3[ k ] is a power signal.
Total energy Ex 1 in x 1( t ) is infinite. The average power in x 1( t ) is, therefore, given by ½ (1 + 1) = 1.
(vi) The DT signal
[ ]
⎪ ⎩
0 elsewhere
5 k
k
x k
k
is a finite duration signal with length 16. Since finite duration signals are energy signals, x 5[ k ] is an
energy signal.
Average power Px 2 in x 5[ k ] is zero. The total energy in x 5[ k ] is given by
15 11
11
10
0
= (^) ∑ +∑ =
k = k =
k E (^) x ▌
8
-4 -2 0 2 4 6 8 10
0
1
2
3
4
5
6
7
8
9
10
k
(v) x5[k]= ku[k]
-8 -6 -4 -2 0 2 4 6 8
0
1
2
3
4
5
6
k
(vi) x6[k]= |k| (u[k+4] - u[k-4])
(v) (vi)
Figure 3: Waveforms for CT signals specified in Problem 6.
Problem 7: Consider the following signal
0 elsewhere
t t
t
t t
xt
Sketch x ( t − 3 ), x ( 2 t − 3 ), x ( − 2 t − 3 ),and x ( − 3 t 4 − 3 ). Determine the analytical expressions for each of
the four functions. ▌
Solution: The waveforms for signals x ( t − 3 ), x ( 2 t − 3 ), x ( − 2 t − 3 ),and x ( − 3 t 4 − 3 )are shown in Fig. 4.
t
− 4 − 3 − 2 − 1 0 1 2 3 4 5
x ( t )
t
− 4 − 3 − 2 − 1 0 1 2 3 4 5
x ( t )
t
− 4 − 3 − 2 − 1 0 1 2 3 4 5
x ( t − 3)
t
− 4 − 3 − 2 − 1 0 1 2 3 4 5
x ( t − 3)
t
− 4 − 3 − 2 − 1 0 1 2 3 4 5
x ( t − 3)
t
− 4 − 3 − 2 − 1 0 1 2 3 4 5
x (2 t − 3)
t
− 4 − 3 − 2 − 1 0 1 2 3 4 5
x (2 t − 3)
10
t
− 4 − 3 − 2 − 1 0 1 2 3 4 5
x (− 2 t − 3)
t
− 4 − 3 − 2 − 1 0 1 2 3 4 5
x (− 2 t − 3)
t − 4 − 3 − 2 0 1 2 3 4 5
x (− 3 t /4 − 3)
t − 4 − 3 − 2 0 1 2 3 4 5
x (− 3 t /4 − 3)
Figure 4: Waveforms for the shifted and scaled signals specified in Problem 7.
i) Sketch the CT function g ( t )= f ( 9 − 3 t ).
ii) Calculate the energy and power of the signal f ( ) t. Is it a power signal or energy signal?
iii) Represent the function f ( ) t as a summation of an even and an odd signal. Sketch the even and odd
parts. ▌
Solution:
(i) To obtain the waveform for g ( t ) from f ( t ), one possible order of transformations is:
9 3 f t f t f t f t f t
reflect aboutyaxis shifttotheleftby scalebyafactorof ⎯⎯ ⎯ ⎯⎯⎯⎯→ − ⎯⎯ ⎯⎯⎯⎯→ − − = − ⎯⎯⎯ ⎯⎯⎯⎯→ −
− .
The final waveform for g ( t ) = f (9 – 3 t ) is sketched in Fig. 5.
t
− 4 − 3 − 2 − 1 0 1 2 3 4 5
f ( t )
(− t – 3) (5 t /3 – 3)
t
− 4 − 3 − 2 − 1 0 1 2 3 4 5
f ( t )
t
− 4 − 3 − 2 − 1 0 1 2 3 4 5
f ( t )
(− t – 3) (5 t /3 – 3)
t
− 4 − 3 − 2 − 1 0 1 2 3 4 5
f (9 – 3 t )
(3 t – 12)
(−5 t +12)
t
− 4 − 3 − 2 − 1 0 1 2 3 4 5
f (9 – 3 t )
t
− 4 − 3 − 2 − 1 0 1 2 3 4 5
f (9 – 3 t )
(3 t – 12)
(−5 t +12)
Figure 5: Waveform for Problem 8(i).
11
[ ] ( [ ] [ ])
[ ] sgn[ ] ( [ 5 ] [ 5 ])
2
1
x k k uk u k
x k k uk uk
Sketch the following signals expressed as a function of x 1 [ k ]and x 2 [ k ].
i) x (^) 1 [ 3 − k ]
ii) x (^) 2 6 − 2 k
]
]
]
iii) x (^) 1 [ 2 k ] + x 2 [ 3 k
iv) x (^) 1 [ k + 5 ] x 2 [ 7 − k
v) x (^) 1 [ 2 k ] x 2 [ − k ▌
The waveforms for the above signals are plotted in Fig. 7.
k − 10 − 8 − 6 − 4 − 2 0 2 4 6 8 10 12
x 1 [ k ]
k − 10 − 8 − 6 − 4 − 2 0 2 4 6 8 10 12
x 1 [ k ]
k
− 10 − 8 − 6 − 4 − 2 0 2 4 6 8 10 12
x 2 [ k ]
k
− 10 − 8 − 6 − 4 − 2 0 2 4 6 8 10 12
x 2 [ k ]
k
− 10 − 8 − 6 − 4 − 2 0 2 4 6 8 10 12
x 1 [3 − k ] = x 1 [− ( k – 3)]
k
− 10 − 8 − 6 − 4 − 2 0 2 4 6 8 10 12
x 1 [3 − k ] = x 1 [− ( k – 3)]
k − 10 − 8 − 6 − 4 − 2 0 2 4 6 8 10 12
x 2 [6 − 2 k ] = x 2 [−2( k − 3)]
k − 10 − 8 − 6 − 4 − 2 0 2 4 6 8 10 12
x 2 [6 − 2 k ] = x 2 [−2( k − 3)]
13
k
− 10 − 8 − 6 − 4 − 2 0 2 4 6 8 10 12
x 1 [2 k ] + x 2 [3 k ]
k
− 10 − 8 − 6 − 4 − 2 0 2 4 6 8 10 12
x 1 [2 k ] + x 2 [3 k ]
x 1 [ k + 5] x 2 [7 – k ] = 0 for all k.
k
− 10 − 8 − 6 − 4 − 2 0 2 4 6 8 10 12
x 1 [2 k ] x 2 [− k ]
k
− 10 − 8 − 6 − 4 − 2 0 2 4 6 8 10 12
x 1 [2 k ] x 2 [− k ]
Fig. 7: Waveforms for Problem 9.
Problem 10: Evaluate the following integrals
∫^ (^ ) (^ )
∞
−∞
i) t − 1 δ t − 5 dt
ii) (^) ∫( ) ( )
∞
−∞
2 t 3 − 5 δ 3 t 4 − 56 dt
∞
−∞
exp t 1 sin t 5 4 ( 1 t ) dt
iv) (^) ∫[ ( ) ( )] ( )
∞
−∞
sin 3 π t 4 +exp− 2 t + 1 δ− t − 5 dt
v) (^) ∫[ (^ )^ (^ )] (^ ) (^ )
∞
−∞
u t − 6 − ut − 10 sin 3 π t 4 δ t − 5 dt ▌
Solution:
(i) ( 1 ) ( 5 ) ( 1 ) 4 5
∞
−∞
∫ t
t t dt t
14