Tutorial 2 - Systems (Exercises)
Tutorial 2 - Systems (Exercises)
Faculty of Engineering
Department of Electrical and Electronics Engineering
Tutorial 2 - Systems
Teaching assistants: Sergio Andrés Dorado-Rojas, Laura Rosero
({sadorador,lsroseroz}@unal.edu.co)
1 systems classification
1. Consider a CT system whose input and output are related by Equation (1). Show that
the system satisfies the homogeneity property but not the additivity property. Thus,
the homogeneity property does not imply the additivity property.
x2 (t)
(
x ( t −1)
x ( t − 1) 6 = 0
y(t) = (1)
0 x ( t − 1) = 0
d
ix. dt [y (t)] + 4y (t) + 1 = x (t)
d4 3
x. dt4
[y (t)] − 5 dtd 3 [y (t)] + 2 dtd [y (t)] − y (t) = d
dt [ x (t)] − 4x (t)
b) as causal or noncausal, memoryless or with memory
i. y [n] = x [n] − 21 x [n − 1] + 14 x [n − 2]
ii. y [n + 1] = −y [n] − x [n] + x [n + 1]
√
2 jn!
iii. y [n] = π x [n] + jx [n − 1] − n! x [ n + 1]
iv. y [n] = x [n] u [n]
v. y (t) = e x(t) sin t
Rt
vi. y (t) = 0 τ x (τ ) dτ
2 computer problems
1 % ???
2 % Function for test signal
3 x = @ ( t ) exp ( -0.5* t ) .*( t >=0) ;
4
5 % Complete these lines to program the provided systems input - output
relationship
6 % sys_a = @ ( x ) ??;
7 % sys_b = @ ( x ) ??;
8 % sys_c = @ ( x ) ??;
9
10 plot (t , y1 , ’b - ’ ,t , y2 , ’r : ’) ;
11 title ( ’ Responses to x ( t ) and x (t -2) ’) ;
12 xlabel ( ’t ( sec ) ’) ;
13 ylabel ( ’ Amplitude ’) ;
14 legend ( ’ Sys \{ x ( t ) \} ’ , ’ Sys \{ x (t -2) } ’) ;
b) Use your program to conclude about the time invariance of the three systems
i. Add a saturation block to the main path with umin = −1 and umax = 1.
ii. Obtain the system response for x (t) = u(t)
iii. Obtain the system response for x (t) = 2u (t)
iv. Add graphically the results of paragraphs ii and iii (Hint: export the simulation
data to the MATLAB Workspace using the block “To Workspace” and make
the addition in the given “T2_LinearitySystems.m” file. Plot your results and
compare)
v. Obtain the system response for x (t) = u (t) + 2u (t). Is this response the sum
of the responses obtained in paragraphs ii and iii? Justify your answer
vi. If the two blocks on the main loop are black-boxed (i.e., they are packaged into
one single module with access only to the input and output terminals) will be
the system linear?