Docsity

Difference Equation - Signals and Systems - Exam, Exams of Signals and Systems Theory

Toggle sidebar
bg1
1
EE 120: Signals and Systems 19 February 2008
Department of EECS El Ghaoui
UC BERKELEY
Midterm 1
LAST Name ________________________ FIRST Name ________________________
Student ID _______________
๎˜ (10 Points) Print your name and student ID in legible, block lettering above AND on
the last page where the grading table appears.
๎˜ You will be given up to a maximum of 110 minutes to work on the exam.
๎˜ This exam is closed book. Collaboration is not permitted. You may not use or
access, or cause to be used or accessed, any reference in print or electronic form at
any time during the exam, except one double-sided 8.5โ€ร—11โ€ sheet of handwritten
notes having no appendage. Computing, communication and other electronic devices
(except dedicated timekeepers) must be turned off. Noncompliance with these or
other instructions from the teaching staff โ€“ including, for example, commencing work
prematurely or continuing beyond the announced stop time โ€“ is a serious violation of
the Code of Student Conduct. Scratch paper will be provided to you; ask for more if
you run out. You may not use your own scratch paper.
๎˜ This exam printout consists of pages numbered 1 through 11. When you are
prompted by the teaching staff to begin work, verify that your copy of the exam is
free of printing anomalies and contains all of the eight numbered pages. If you find a
defect in your copy, notify the staff immediately.
๎˜ Please write neatly and legibly, because if we canโ€™t read it, we canโ€™t grade it.
๎˜ For each problem, limit your work to the space provided specifically for that problem.
๎˜›o other work will be considered in grading your exam. ๎˜›o exceptions.
๎˜ Unless explicitly waived by the specific wording of a problem, you must explain your
responses (and reasoning) succinctly, but clearly and convincingly.
๎˜ We hope you do a fantastic job on this exam.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Difference Equation - Signals and Systems - Exam and more Exams Signals and Systems Theory in PDF only on Docsity!

EE 120: Signals and Systems 19 February 2008 Department of EECS El Ghaoui UC BERKELEY

Midterm 1

LAST Name ________________________ FIRST Name ________________________

Student ID _______________

 (10 Points) Print your name and student ID in legible, block lettering above AND on the last page where the grading table appears.

 You will be given up to a maximum of 110 minutes to work on the exam.

 This exam is closed book. Collaboration is not permitted. You may not use or access, or cause to be used or accessed, any reference in print or electronic form at any time during the exam, except one double-sided 8.5โ€ร—11โ€ sheet of handwritten notes having no appendage. Computing, communication and other electronic devices (except dedicated timekeepers) must be turned off. Noncompliance with these or other instructions from the teaching staff โ€“ including, for example, commencing work prematurely or continuing beyond the announced stop time โ€“ is a serious violation of the Code of Student Conduct. Scratch paper will be provided to you; ask for more if you run out. You may not use your own scratch paper.

 This exam printout consists of pages numbered 1 through 11. When you are prompted by the teaching staff to begin work, verify that your copy of the exam is free of printing anomalies and contains all of the eight numbered pages. If you find a defect in your copy, notify the staff immediately.

 Please write neatly and legibly, because if we canโ€™t read it, we canโ€™t grade it.

 For each problem, limit your work to the space provided specifically for that problem. o other work will be considered in grading your exam. o exceptions.

 Unless explicitly waived by the specific wording of a problem, you must explain your responses (and reasoning) succinctly, but clearly and convincingly.

 We hope you do a fantastic job on this exam.

MT1.1 (20 Points) Consider a causal LTI system H described by the difference equation

y( n)+ ynโˆ’ =xn โˆ’ xnโˆ’.

(a) Determine the impulse response h( n)of this system.

(b) Determine the frequency response H ( ฯ‰)of this system.

MT1.2 (10 Points) Consider a discrete-time signal x : Zโ†’Rthat satisfies:

I. For every n, lโˆˆZ, x ( n+ 4 l)=x(n).

II. ( ) 2

2

โˆ‘ n= โˆ’ 1 x^ n =.

III. ( 1 ) ( ) 1

2

โˆ‘ n=โˆ’ 1 โˆ’ =

n (^) x n.

IV. ( )cos( / 2 ) ( )sin( / 2 ) 0 2 1

2

โˆ‘ n = โˆ’ 1 xn nฯ€^ =^ โˆ‘n=โˆ’xn n^ ฯ€ =.

(a) Determine the complex exponential Fourier series coefficients X-1, X 0 , X 1 and X 2 for this signal.

(b) Determine an expression for the signal x itself.

MT1.3 (20 Points) Consider two discrete-time systems S 1 and S 2 that are described as follows. System S 1 has state s 1 , inputs x 1 , x 2 and output y and the following state-space model:

( S 1 ) : s 1 (n+ 1 )=As 1 (n)+B 1 x 1 (n)+B 2 x 2 (n),y(n)=Cs 1 (n ),

and system S 2 has state s 2 , input w and output p and the following state-space model:

( S 2 ): s 2 (n+ 1 )=Fs 2 (n)+Gw(n),p(n)=Hs 2 (n)+Jw(n ),

In the models above, we do not specify the size of the matrices involved, but you can assume that they all have the correct dimensions (for example, G has row size given by the dimension of the state vector s 2 ).

(a) Suppose that the causal LTI system S 2 is characterized by the following linear, constant-coefficient difference equation (LCCDE):

p( n)+ p(nโˆ’ 2 )= 2 w(n)โˆ’w(nโˆ’ 1 ).

Construct the state-space model for S 2 by finding the matrices F, G, H and J.

MT1.4 (10 Points) Suppose that x and y are scalar-valued discrete-time signals (i.e., sequences) related via a (LTI) convolution system:

y n hmxn m n Z m

where โˆ€m , h(m)โˆˆR. You may assume that the system is causal.

(a) Assume that โˆ€ n < 0 , x(n)= 0 , and let X = ( x( 0 ),K,x())and Y =( y( 0 ),K,y())

be two vectors of length  + 1 that give the first  + 1 values of the input and output, respectively. Express the relation between X and Y in the form of Y = TX, where T is a matrix you will determine in terms of h.

(b) Assume now that x( n)= 0 for n < โˆ’ or n > 0. Define Y = ( y( 0 ),K,y()) and

X = ( x( โˆ’),K,x( 0 )). Find a matrix H such that Y = HX.

MT1.5 (30 Points) Consider the equations

s (^) k ( n+ 1 )=aksk(n)+bkx(n),nโ‰ฅ 0.

This system is a simplistic model of the dynamics of prices of  financial assets, with sk (n)the rate of return of asset k at time n, and with x a signal that represents a common

factor (say, the price of oil) affecting the entire market. In the equations above, ak โˆˆR

and bk โˆˆ Rare given and are independent of time.

A given investment strategy is represented by a sequence w of vectors w( n)โˆˆ R, with

wk (n)the relative amount invested in asset k at time n. We assume that โˆ€nโ‰ฅ 0 , wk ( n)โ‰ฅ 0 for every k = 1 , K, (we buy but do not sell), and that w 1 (n)+ L+w(n)= 1

(so that wk (n) represents the proportion of wealth invested in asset k at time n). The

quantity y ( n): = w(n)Ts(n)represents the rate of return of the portfolio at time n. In this

problem, we focus on the resulting SISO system, which has x as input and y as output.

(a) Devise a state-space model for this SISO system, making sure to specify the state and all the system matrices.

(b) Determine if the system has the following properties. For each property, prove that it holds (irrespective of the choice of the investment strategy w), or give a counterexample of a specific strategy that violates the property. You should assume that w is given a priori and not a function of the input.

(i) Causal:

(ii) Linear:

(iii) Time-invariant:

(f) Select the strongest assertion, which is true, from the choices below. Explain your choice succinctly, but clearly and convincingly.

(i) The system is BIBO stable if ak < 1 for every k = 1 , K,. (ii) The system is BIBO stable if and only if ak < 1 for every k = 1 , K,. (iii) The system is BIBO stable if and only if for every k = 1 , K,, ak < 1 or bk = 0.

Now assume that bk = 1 , ak < 1 for every k = 1 , K,, and we define a = max 1 โ‰คk โ‰คak.

(g) Show that if 3

a โ‰ค , then for every sequence x such that x ( n)โˆˆ[โˆ’ 0. 1 , 0. 1 ]for every n,

we have y( n)โˆˆ[โˆ’ 0. 3 , 0. 3 ]for every n.

LAST Name ________________________ FIRST Name ________________________

Student ID _______________

Problem &ame

Points Your Score

Name 10 10

1 20

2 10

3 20

4 10

5 30

Total 100