0% found this document useful (0 votes)
60 views4 pages

Introduction To Discrete Time Signals & Systems: Exam #2 Name

This document contains an exam for a signals and systems course, including multiple calculation and modeling questions. The first question provides a signal x(n) and asks to calculate and graph the outputs y1(n), y2(n), and y(n) for two given systems. The second question asks to: a) write a difference equation for a given system, b) determine the system's impulse response, and c) determine the output of the system for a given input signal x(n). The question is answered through multiple calculation steps.

Uploaded by

Mnsh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views4 pages

Introduction To Discrete Time Signals & Systems: Exam #2 Name

This document contains an exam for a signals and systems course, including multiple calculation and modeling questions. The first question provides a signal x(n) and asks to calculate and graph the outputs y1(n), y2(n), and y(n) for two given systems. The second question asks to: a) write a difference equation for a given system, b) determine the system's impulse response, and c) determine the output of the system for a given input signal x(n). The question is answered through multiple calculation steps.

Uploaded by

Mnsh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

California State Polytechnic University, Pomona Electrical & Computer Eng.

Dr. Zekeriya Aliyazicioglu


ECE 308 - 01
Introduction to Discrete Time Signals & Systems
Exam #2
Name:__________________________ May 15, 2002

1. Compute and sketch x (n) , y1 (n ) , y2 (n ) , and y (n) for the following case:

x (n ) = {...0,4,3,2,1,0,...}

h1( n) = 2[u ( n + 2) − u ( n − 2)]
h2 ( n) = 2n [u( n) − u( n − 3) ]

y 1 (n)
x(n) y (n)
h 1 (n) X

y 2 (n)
h 2 (n)


y1 ( n) = x (n ) * h1( n) = ∑ x( k ) h (n − k )
1
n =−∞
-4 -3 -2 -1 0 1 2 3 4 5 6
x(k) 4 3 2 1
n=0, h1 (-k) 2 2 2 2 y1(0)=8+6+4=18
n=1, h1 (1-k) 2 2 2 2 2 y1(1)=8+6+4+2=20
n=2, h1 (2-k) 2 2 2 2 2 y1(2)= 6+4+2=12
n=3, h1 (3-k) 2 2 2 2 2 y1(3)= 4+2=6
n=4, h1 (4-k) 2 2 2 2 2 y1(4)= 2=2
n=4, h1 (5-k) 2 2 2 2 y1(5)=0
n=-1, h1 (-1-k) 2 2 2 2 y1(-1)=8+6=14
n=-2, h1 (-2-k) 2 2 2 2 y1(-2)=8
n=-3, h1 (-3-k) 2 2 2 2 y1(-3)=0

y1 ( n) = {...0,0,8,14,18,20,12,6,2,0,...}

By: Z. Aliyazicioglu ECE 308- Quiz-2- 1



y2 (n ) = x( n) * h2 (n ) = ∑ x (k )h ( n − k )
2
n =−∞
-4 -3 -2 -1 0 1 2 3 4 5 6
x(k) 4 3 2 1
n=0, h2(-k) 4 2 0 y1(0)=0
n=1, h2 (1-k) 4 2 0 y1(1)=8
n=2, h2 (2-k) 4 2 0 y1(2)= 16+6=22
n=3, h2 (3-k) 4 2 0 y1(3)= 12+4=16
n=4, h2 (4-k) 4 2 0 y1(4)= 8+2=10
n=4, h2 (5-k) 4 2 0 y1(5)=4
n=5, h2 (5-k) 4 2 0 y1(6)=0

y1 ( n) = {...0,0,8,22,16,10,4,0,...}

y (n ) = y1( n) y2 ( n)
-4 -3 -2 -1 0 1 2 3 4 5 6
y1(n) 8 14 18 20 12 6 2
y2(n) 0 8 22 16 10 4
y (n) 0 0 160 264 96 20 0

y (n ) = {...,0,160,264,96,20,0,...}

By: Z. Aliyazicioglu ECE 308- Quiz-2- 2


a. Write a difference equation for the following system

b. Determine system impulse response


c. Determine the response of the system y ( n), n ≥ 0 for the input sequence is
x ( n) = (0.6) n u (n )

y(n)
x(n)
+ +

z-1
1 -0.25
+

z-1
-0.25

a. y (n ) = y( n − 1) − 0.25 y ( n − 2) + x ( n) − 0.25 x( n − 1)
For system impulse response x (n ) = δ (n )
Homogenous solution:
λ 2 − λ + 0.25 = 0 à λ = 0.5,0.5

yh ( n) =  C1 0.5n + C1n0.5n  u (n ) ,
Particular solution is y p ( n) = 0
To find constant
n=0
y (0) = y ( −1) − 0.25 y ( −2) + x(0) − 0.25 x (−1) yh (0) = C 1 0.50 + C1 (0)0.50  u (0)
y (0) = 1 yh (0) = C1 = 1
n =1
y (1) = y (0) − 0.25 y (−1) + x(1) − 0.25 x (0) yh (1) = C1 0.51 + C2 (1)0.51  u(1)
y (0) = 1 − 0.25 = 0.75 yh (1) = 0.5C1 + 0.5C2 = 0.75
0.5(1) + 0.5C2 = 0.75
C2 = 0.5
yh ( n) =  (0.5)0.5n + (0.5)n 0.5n  u ( n)
yh ( n) = 0.5n +1 + n 0.5n+1  u( n)

b. x ( n) = (0.6) n u (n )
Homogenous solution is same
yh ( n) =  C1 0.5n + C1n0.5n  u (n )
Particular solution is in the following form
y p ( n) = K (0.6) n u ( n)

By: Z. Aliyazicioglu ECE 308- Quiz-2- 3


K (0.6) n u ( n) = K (0.6) n−1u( n − 1) − 0.25 K (0.6) n− 2 u( n − 2) + (0.6)n u( n) − 0.25(0.6)n −1u( n − 1)
n=0
K (0.6) n+ 2 = K (0.6)1 − 0.25 K (0.6)0 + (0.6) 2 − 0.25(0.6)1
K 0.36 = K 0.6 − 0.25 K + 0.36 − 0.15
0.21
K= = 21
0.01
y p ( n) = 21(0.6)n u( n)
Total Solution:
y (n ) =  C1 0.5n + C1n0.5 n + 21(0.6) n  u( n)

To find constant
n=0
y (0) = y ( −1) − 0.25 y ( −2) + x(0) − 0.25 x (−1) y (0) =  C1 0.50 + C1(0)0.50 + 21(0.6) 0  u (0)
y (0) = 0.60 u (0) − 0.25(0.6−1) u ( −1) = 1 y (0) = C1 + 21 = 1
C1 = −20

n =1
y (1) = y (0) − 0.25 y (−1) + x(1) − 0.25 x (0) yh (1) = C1 0.51 + C2 (1)0.51 + 21(0.6)1  u (1)
y (0) = 1 + 0.6 − 0.25(0.6)0 = 1.35 yh (1) = 0.5C1 + 0.5C2 + 12.6 = 1.35
0.5( −20) + 0.5C2 = 1.35 − 12.6
−1.25
C2 = = −2.5
.5
Total Solution:
y (n ) = ( −21)0.5n − 2.5n0.5n + 21(0.6)n  u( n)

By: Z. Aliyazicioglu ECE 308- Quiz-2- 4

You might also like