Homework 3 Solutions
|
|
- Louise Williamson
- 5 years ago
- Views:
Transcription
1 Signals and Systems Profs. Byron Yu and Pulkit Grover Fall 2018 Homework 3 Solutions Part One 1. (25 points) The following systems have x(t) or x[n] as input and y(t) or y[n] as output. For each system state whether the following properties hold and justify: Causal Stable Memoryless Linear Time invariant (a) y(t) = x 2 (t) (b) y(t) = x 2 (τ)dτ (c) y[n] = e jn (x[n + 1] x[n]) (d) y[n] = K Solution: x[n m] where K is a positive integer (a) Causal, stable, memoryless, not linear, and not time invariant Causality: Since y(t) only depends on the current value of x(t), it is causal. Stability: y(t) is just a scaling of x(t). Let x(t) M. Then, y(t) = (x(t)) 2 = y(t) = x(t) x(t) M 2 = y(t) M 2. Hence the system is stable. Memorylessness: y(t) depends only on the current value of x(t). Hence the system is memoryless. Linearity: Let x 1 (t) and x 2 (t) be two inputs, and let x(t) = ax 1 (t) + bx 2 (t) be a third input, where a, b are arbitrary constants. Then,
2 2 Homework 3 Solutions y 1 (t) = x 2 1(t) y 2 (t) = x 2 2(t) Hence the system is not linear. Time invariance Let ˆx(t) = x(t τ). y(t) = (ax 1 (t) + bx 2 (t)) 2 = a 2 x 2 1(t) + 2abx 1 (t)x 2 (t) + b 2 x 2 (t) ay 1 (t) + by 2 (t) Hence the system is time invariant. y(t) = x 2 (t) = y(t τ) = (x(t τ)) 2. ŷ(t) = (ˆx(t)) 2 = (x(t τ)) 2 = y(t τ). (b) Causal, not stable, not memoryless, not linear, time invariant Causality: Since y(t) depends only on present and past values of x(t), the system is causal. Stability: Let x(t) M, M 0, R y(t) = y(t) = y(t) x 2 (τ)dτ x 2 (τ)dτ x 2 (τ) dτ M 2 dτ = M 2 dτ = M 2 t as t.
3 Homework 3 Solutions 3 Hence not stable. Memorylessness: y(t) depends on past values of x(t) and hence is not memoryless. Linearity: Let x 1 (t) and x 2 (t) be two inputs, and let x(t) = ax 1 (t) + bx 2 (t) be a third input, where a, b are arbitrary constants. Then, y 1 (t) = x 2 1(τ)dτ y 2 (t) = y(t) = x 2 2(τ)dτ x 2 (τ)dτ = (ax 1 (τ) + bx 2 (τ)) 2 dτ = (ax 2 1(τ) + bx 2 2(τ) + 2abx 1 (τ)x 2 (τ))dτ y 1 (t) + y 2 (t). Hence the system is not linear. Time invariance y(t) = x 2 (τ)dτ t t 0 = y(t t 0 ) = x 2 (τ)dτ.
4 4 Homework 3 Solutions Let ˆx(t) = x(t t 0 ). Then, ŷ(t) = ˆx 2 (τ)dτ = x 2 (τ t 0 )dτ. Let ˆτ = τ t 0. Then, dˆτ = dτ. When τ =, ˆτ =. When τ = t, ˆτ = t t 0. ŷ(t) = t t 0 ˆ x 2 (ˆτ)dˆτ. Hence the system is time invariant. (c) Not causal, stable, not memoryless, linear, not time invariant Causality: Since y[n] depends on x[n + 1], the system is not causal. Stability: Let x[n] M. y[n] = e jn (x[n + 1] x[n]) y[n] = e jn (x[n + 1] x[n]) e jn ( x[n + 1] + x[n] ) (M + M) 2M. Hence the system is stable. Memorylessness: Since the system is not causal, the system is not memoryless. Linearity: Let x 1 [n] and x 2 [n] be two inputs, and let x[n] = ax 1 [n] + bx 2 [n] be a third input, where a, b are arbitrary constants. Then, y 1 [n] = e jn (x 1 [n + 1] x 1 [n]) y 2 [n] = e jn (x 2 [n + 1] x 2 [n]) y[n] = e jn (x[n + 1] x[n]) = e jn (ax 1 [n + 1] + bx 2 [n + 1] ax 1 [n] bx 2 [n]) = ae jn (x 1 [n + 1] x 1 [n]) + be jn (x 2 [n + 1] x 1 [n] x 2 [n]) = ay 1 [n] + by 2 [n].
5 Homework 3 Solutions 5 Hence the system is linear. Time invariance y[n] = e jn (x[n + 1] x[n]) y[n m] = e j(n m) (x[n m + 1] x[n m]). Let ˆx[n] = x[n m]. Then, ŷ[n] = e jn (ˆx[n + 1] ˆx[n]) = e jn (x[n m + 1] x[n m]) y[n m]. Hence the system is not time invariant. (d) Causal, stable, not memoryless, linear, time invariant. Causality: Since y[n] only depends on present and past values of x[n], system is causal. stability: Let x[n] < M. Then, Hence the system is stable. y[n] = x[n m] = y[n] = x[n m] x[n m] M = (K + 1)M. Memorylessness: Since the output depends on past values of x[n], it is not memoryless. Linearity: Let x 1 [n] and x 2 [n] be two inputs, and let x[n] = ax 1 [n] + bx 2 [n] be a third input, where a, b are arbitrary constants. Then,
6 6 Homework 3 Solutions y 1 [n] = y 2 [n] = y[n] = = Hence the system is linear. Time invariance: = a x 1 [n m] x 2 [n m] x[n m] (ax 1 [n m] + bx 2 [n m]) x 1 [n m] + b = ay 1 [n] + by 2 [n]. y[n] = y[n p] = x 2 [n m] x[n m] x[n p m]. Let ˆx[n] = x[n p]. Then, ŷ[n] = ˆx[n m] = x[n p m] = y[n p]. Hence the system is time invariant.
7 Homework 3 Solutions 7 2. (15 points) Determine if each of the following systems is invertible. If it is, construct the inverse system. Otherwise, show why the system is not invertible. (a) y(t) = sin(πx(t)) (b) y(t) = exp ( x(t) ) (c) y[n] = sin ( π 2 n) x[n] (d) y[n] = n k= x[k] Solution: (a) y(t) = sin(πx(t)) Let x(t) = t where t = 1, 2,..., T. We can have y(t) = 0. In this case, multiple x(t) share same y(t), so y(t) is not invertible. (b) y(t) = e x(t) In this case, multiple inputs x(t) can produce the same output y(t), so y(t) is not invertible. For example, let x(t) = u(t) 2u(t 1) + u(t + 2), we have y(t) = exp ( u(t) 2u(t 1) + u(t 2) ) = exp (u(t) u(t 2)). (c) y[n] = sin( πn)x[n] 2 Although x[n] = csc( π n)y[n], x[n] = inf when n =..., 4, 2, 0, 2, 4,... So, y[n] 2 is not invertible. (d) y[n] = n k= x[k] x[n] = y[n] n 1 k= inf x[k] = y[n] y[n 1]. Y [n] is invertible.
8 8 Homework 3 Solutions 3. (15 points) Suppose we have two signals x(t) and h(t) defined as: { t t 0 x(t) = 0 otherwise, h(t) = (a) Plot the signals x(t) and h(t). { 2 0 t 2 0 otherwise. (b) Plot x(t)h( t) and evaluate the integral x(t)h( t)dt. (c) Plot x(t)h( 1 t) and evaluate the integral x(t)h( 1 t)dt. (d) Evaluate the integral x(t)h(τ t)dt. (Hint: the result should include τ.) Solution: (a) plot signal x(t) and y(t). x(t) t 2 y(t) t
9 Homework 3 Solutions 9 (b) Plot x(t)y( t) and compute the integral x(t)u( t)dt. x(t)y( t) t x(t)y( 1 t)dt = 2x(t)[u( t)]dt = 0 2x(t)dt = t+4dt = [t 2 +4t] 0 2 = 4 (c) Plot x(t)y( 1 t) and compute the integral x(t)u( 1 t)dt. x(t)y( 1 t) t
10 10 Homework 3 Solutions x(t)y( 1 t)dt = 1 = = 2x(t)[u( 1 t) u( 3 t)]dt 3 1 (d) Compute the integral x(t)y(τ t)dt. 2 2x(t)dt 2t + 4dt = [t 2 + 4t] 1 2 = 1 x(t)y(τ t)dt = τ 2 = = 2x(t)[u(τ t) u(τ t 2)]dt τ τ 2 0dt + τ 2x(t)dt = τ 2 τ 2x(t)dt + τ 2 τ 2(t + 2)dt = = (t 2 + 4t) τ t=τ 2, for 2 t 0 0dt We need to think about when 2 τ 0, and also when, 2 τ 2 0 to know when to evaluate the upper and lower limit of the integral. τ < 2, i.e. τ 2 < τ < 2. In this case, (t 2 + 4t) t=0 = 0. 2 τ 0, i.e. τ 2 < 2 τ. In this case, (t 2 + 4t) t=τ = τ 2 + 4τ < τ 2, i.e. 2 τ 2 0 < τ. In this case, (t 2 + 4t) t=τ 2 = 4 τ 2. τ > 2, i.e. 0 < τ 2 < τ. In this case, (t 2 + 4t) t=0 = 0.
11 Homework 3 Solutions 11 Part Two 4. (15 points) Consider the system with input x[n] and output y[n] defined below: y[n] = x[n] (g[n] + g[n 1] + g[n 2] + g[n 3]). For each of the following definitions of g[n], show whether or not the system is time invariant. (a) (5 points) If g[n] = 1 for all n. (b) (5 points) If g[n] = n. (c) (5 points) If g[n] = 1 n. Solution: g[n] = 1: g[n] = n: g[n] = 1 n: y[n] = x[n]( ) = 4x[n] y[n n 0 ] = 4x[n n 0 ] y[n] = x[n](n + n 1 + n 2 + n 3) = (4n 6)x[n] y S [n] = (4n 6)x[n n 0 ] y[n n 0 ] = (4(n n 0 ) 6)x[n n 0 ] y S [n] y[n] = x[n](1 n + 2 n + 3 n + 4 n) = (10 4n)x[n] y[n n 0 ] = (10 4(n n 0 ))x[n n 0 ] (10 4n)x[n n 0 ]
12 12 Homework 3 Solutions 5. (14 points) (MATLAB) For all the questions below, assume the values before and after the given vectors are zeros. (a) (4 points) Create a system that takes in a signal represented by a vector x and reverses it, where x can be any length. In other words, y[n] = x[ n], for all n Create the system as the following function: y = myreverse(x). Call your function on x = [ ], which corresponds to n = -5:5. This vector x represents the signal x[n] such that x[ 5] = 0, x[0] = 1, x[5] = 0, etc. Plot the output y for n = -5:5 using stem, and submit it along with your source code. (b) (5 points) Create a system that shifts a vector x to the right by k. In other words, y[n] = x[n k], for all n Create the system as the following function: y = rshift(x,k). Vectors have finite length when represented in MATLAB, so elements could be shifted out of the bounds of a vector. For this function, you can simply drop the values shifted outside the boundary and add zeros on the other side. For example, if x = [1 2 3] and k= 1, the function should shift every element to the right by one, drop the rightmost element, and make the leftmost element zero, which gives y = [0 1 2]. Call your function on x = [ ] and k = 1, where n = -5:5. Plot the output y for n = -5:5 using stem, and submit it along with your source code. (c) (5 points) Follow the steps below to implement a system that takes vectors A and B, and outputs C: (1) Reverse A and get a new vector denoted as A r. (2) Perform an element-wise multiplication of A r and B. (3) Sum all the elements in the vector obtained in the previous step to get one element of C. (4) Shift A r to the right by 1. (5) Repeat starting from step (2) until all elements in A r are shifted out of its bounds.
13 Homework 3 Solutions 13 Here s an example of computing C, given A = [ ] and B = [ ] corresponding to n = -2:2. First, reverse A and get A r = [ ]. Perform an element-wise multiplication with B and sum up all the elements. This gives C[0] = 2 n= 2 A r [n]b[n] = ( 1) = 2 The sum is from n = -2 to n = 2 because both A r and B are zeros outside this range. Now you have the first element in vector C. Next, shift A r to the right by 1, repeat the element-wise multiplication and add all the resulting elements to get C[1]. Keep shifting A r one by one and performing the calculations until all the elements in A r are shifted out of its bounds.the result should be C = [ ]. Solution: Now consider A = [ ] and B = [ ] for n = -5:5 i. Calculate C[4] and C[6] by hand. Show all your work. ii. Create function C = CSum(A,B), using the functions you wrote in parts (a) and (b). iii. Call CSum on vectors A and B and plot the output C for n = 0:10 using stem. You may use.* for element-wise multiplication and sum to sum all the elements of a vector. Submit your plot and code. iv. Describe the relationship between signals C and A. (Hint: For what values of n is B equal to 1?) (a) myreverse function y = myreverse ( x) n = length (x); y = x(n : -1:1); end Plotting x = [ ]; y = myreverse (x); n = -5:5; stem (n,y) xlabel ( n ) ylabel ( y[n] ) title ( myreverse )
14 14 Homework 3 Solutions Plotting (b) rshift function y = rshift (x, k) y = [ zeros (1,k) x (1: end -k )]; end Plotting x = [ ]; y = rshift (x,1); n = -5:5; stem (n, y) xlabel ( n ) ylabel ( y[n] ) title ( rshift ) Plotting
15 Homework 3 Solutions 15 (c) i. 5 C[4] = A r[n]b[n] = = 0 n=0 ii. 5 C[6] = A r[n]b[n] = = 2 n=0 function C = CSum (A, B) A_r = myreverse (A); C = zeros ( size (A )); for i = 1: length (A) C(i) = sum ( A_r.*B); A_r = rshift ( A_r,1); end end iii. A = [ ]; B = [ ]; C = CSum (A, B);
16 16 Homework 3 Solutions n1 = 0: length (A) -1; stem (n1, C); xlabel ( n ) ylabel ( C[n] ); title ( CSum ) iv. C consists of two copies of A, one shifted by 0 and the other by 5.
17 Homework 3 Solutions (15 points) (MATLAB) Let s now implement the following system: y[n] = x[n] + x[n 1] + x[n 2]. Write a function y=simplesys(x) that takes a sequence x as input and returns an output y. function y = simplesys ( x) %% SIMPLESYS returns output y for a given % input x, such that y[n] = x[n] + x[n -1] + x[n -2] < your code goes here > end Let us now find out whether the system is linear and time invariant. (a) (5 points) Linearity Let s define two signals x 1 [n] = [1 : 10] for n = 1 : 10, and x 2 [n] = [ 8 : 2 : 10] for n = 1 : 10. Use the function simplesys to generate two outputs y 1 [n] and y 2 [n]. Now, generate another output y 3 [n] using the input signal 2x 1 [n] + 3x 2 [n]. Plot y 3 [n]. Create a new figure using Matlab command figure without arguments. In this new figure plot 2y 1 [n] + 3y 2 [n]. Compare these two plots. Does this result suggest that the system is linear and why? Please submit the following: Code of simplesys MATLAB function. Plots of y 3 [n] and 2y 1 [n] + 3y 2 [n]. Is the system linear? Why? (b) (5 points) Time-invariance For a time-invariant system, if the input is delayed by δ time steps, then the output is the same as before, but delayed by δ time steps. Let s check if our system satisfies this property. Let s say the system is H. Plot the output y[n] generated by the signal x[n] = [1, 3, 5, 7, 15, 7, 5, 3, 1, 0, 0]. Now, generate an output using a delayed version of x with δ = 3. Hence x[n 3] = [0, 0, 0, 1, 3, 5, 7, 15, 7, 5, 3]. Plot the output by using x[n 3] as input to function simplesys, note the output as simplesys(x[n 3]). Compare simplesys(x[n 3]) to y[n 3] delayed by 3. Does this result suggest the system is time-invariant? Please submit the following: Plots of y[n 3] and simplesys(x[n 3]). Is the system time-invariant? Why?
18 18 Homework 3 Solutions (c) (5 points) Now, let s look more closely at our system: y[n] = x[n] + x[n 1] + x[n 2] Dividing the right side of this equation by some constant number does not change the behavior of the system (though it does scale the magnitude of the output). You can verify this using the above exercise to convince yourself it is true. Let s divide by 3: y[n] = x[n] + x[n 1] + x[n 2] 3 This results is a moving average using three consecutive elements in x. Since averaging essentially smooths out a signal, what we have here is a simple low-pass filter! (We will see eventually that sharp changes in a signal correspond to high frequencies and removing those sharp changes and smoothing the signal over time is performed using low-pass filters.) We can increase the level of smoothing by increasing the number of elements being averaged over: y[n] = x[n] + x[n 1] + x[n 2] + x[n 3] 4 Recall that this is a function you wrote in the previous homework called moveaverage and you saw the effects of increasing k. You will now implement another kind of low pass filter in MATLAB. Implement a first order low-pass filter with an output as follows. The function file should look like : y[n] = x[n] + ry[n 1] where 0 < r 1 function [y] = order1lp (x,r) %% low pass filter of first order with parameter r < your code goes here > end Try values of r = 0.1, 0.3, 0.6 and comment on how r affects the output in terms of smoothing of the following signal s[n]= sin(n/4) + 1/2*cos(n/5) + sin(n) with n=1:100. Please submit the following: Code of order1lp MATLAB function. Plots of the output of order1lp with r = 0.1, 0.3, 0.6. Comment on how r affects the in terms of the amount of smoothing.
19 Homework 3 Solutions 19 Solution: The code for the function: function y = simplesys ( x) %% SIMPLESYS returns output y for a given % input x, such that y[n] = x[n] + x[n -1] x= cat (2, zeros (1,2), x); for i = 3: length (x) y(i -2) = x(i) + x(i -1) + x(i -2); end (a) (x points) Linearity x1 = 1:10; x2 = -8:2:10; y1 = simplesys ( x1 ); y2 = simplesys ( x2 ); y3 = simplesys (2* x1 + 3* x2 ); y4 = 2* y1 + 3* y2; The system satisfies the property of linearity hence we can say that it is linear. (b) (x points) Time Invariance
20 20 Homework 3 Solutions x = [ ]; x_delay = [ ]; y = simplesys (x); y_delay = simplesys ( x_delay ); figure plot (y) hold on plot ( y_delay ) The output y delay is delayed by the same amount and does not change in shape otherwise. Hence system is time-invariant by definition of time invariance. (c) (x points) Simple Low Pass Filter For the first order LP filter, code is: function [ out ] = order1lp (x,r) out (1)=0; ctr = 2; for i =1: length (x) out ( ctr ) = x(i) + r* out ( ctr -1); ctr = ctr + 1; end
21 Homework 3 Solutions 21 or function [ out ] = order1lp (x,r) out (1) = x (1); for i =2: length (x) out (i) = x(i) + r* out (i -1); end end As value of r increases, the level of smoothing is increased.
Homework 5 Solutions
18-290 Signals and Systems Profs. Byron Yu and Pulkit Grover Fall 2018 Homework 5 Solutions. Part One 1. (12 points) Calculate the following convolutions: (a) x[n] δ[n n 0 ] (b) 2 n u[n] u[n] (c) 2 n u[n]
More informationHomework 6 Solutions
8-290 Signals and Systems Profs. Byron Yu and Pulkit Grover Fall 208 Homework 6 Solutions. Part One. (2 points) Consider an LTI system with impulse response h(t) e αt u(t), (a) Compute the frequency response
More informationHomework 5 Solutions
18-290 Signals and Systems Profs. Byron Yu and Pulkit Grover Fall 2017 Homework 5 Solutions Part One 1. (18 points) For each of the following impulse responses, determine whether the corresponding LTI
More informationHomework 1 Solutions
18-9 Signals and Systems Profs. Byron Yu and Pulkit Grover Fall 18 Homework 1 Solutions Part One 1. (8 points) Consider the DT signal given by the algorithm: x[] = 1 x[1] = x[n] = x[n 1] x[n ] (a) Plot
More information1.17 : Consider a continuous-time system with input x(t) and output y(t) related by y(t) = x( sin(t)).
(Note: here are the solution, only showing you the approach to solve the problems. If you find some typos or calculation error, please post it on Piazza and let us know ).7 : Consider a continuous-time
More informationx(t) = t[u(t 1) u(t 2)] + 1[u(t 2) u(t 3)]
ECE30 Summer II, 2006 Exam, Blue Version July 2, 2006 Name: Solution Score: 00/00 You must show all of your work for full credit. Calculators may NOT be used.. (5 points) x(t) = tu(t ) + ( t)u(t 2) u(t
More informationHomework 9 Solutions
8-290 Signals and Systems Profs. Byron Yu and Pulkit Grover Fall 207 Homework 9 Solutions Part One. (6 points) Compute the convolution of the following continuous-time aperiodic signals. (Hint: Use the
More informationChapter 3 Convolution Representation
Chapter 3 Convolution Representation DT Unit-Impulse Response Consider the DT SISO system: xn [ ] System yn [ ] xn [ ] = δ[ n] If the input signal is and the system has no energy at n = 0, the output yn
More informationSolving systems of ODEs with Matlab
Solving systems of ODEs with Matlab James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University October 20, 2013 Outline 1 Systems of ODEs 2 Setting Up
More informationLTI Systems (Continuous & Discrete) - Basics
LTI Systems (Continuous & Discrete) - Basics 1. A system with an input x(t) and output y(t) is described by the relation: y(t) = t. x(t). This system is (a) linear and time-invariant (b) linear and time-varying
More informationEE361: Signals and System II
Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu EE361: Signals and System II Introduction http://www.ee.unlv.edu/~b1morris/ee361/ 2 Class Website http://www.ee.unlv.edu/~b1morris/ee361/ This
More informationSignals and Systems Profs. Byron Yu and Pulkit Grover Fall Midterm 2 Solutions
8-90 Signals and Systems Profs. Byron Yu and Pulkit Grover Fall 08 Midterm Solutions Name: Andrew ID: Problem Score Max 8 5 3 6 4 7 5 8 6 7 6 8 6 9 0 0 Total 00 Midterm Solutions. (8 points) Indicate whether
More informationDigital Signal Processing, Homework 1, Spring 2013, Prof. C.D. Chung
Digital Signal Processing, Homework, Spring 203, Prof. C.D. Chung. (0.5%) Page 99, Problem 2.2 (a) The impulse response h [n] of an LTI system is known to be zero, except in the interval N 0 n N. The input
More informationECE 301 Division 1 Exam 1 Solutions, 10/6/2011, 8-9:45pm in ME 1061.
ECE 301 Division 1 Exam 1 Solutions, 10/6/011, 8-9:45pm in ME 1061. Your ID will be checked during the exam. Please bring a No. pencil to fill out the answer sheet. This is a closed-book exam. No calculators
More informationInterconnection of LTI Systems
EENG226 Signals and Systems Chapter 2 Time-Domain Representations of Linear Time-Invariant Systems Interconnection of LTI Systems Prof. Dr. Hasan AMCA Electrical and Electronic Engineering Department (ee.emu.edu.tr)
More informationDIGITAL SIGNAL PROCESSING LABORATORY
L AB 5 : DISCRETE T IME SYSTEM IN TIM E DOMAIN NAME: DATE OF EXPERIMENT: DATE REPORT SUBMITTED: 1 1 THEORY Mathematically, a discrete-time system is described as an operator T[.] that takes a sequence
More informationChapter 1 Fundamental Concepts
Chapter 1 Fundamental Concepts Signals A signal is a pattern of variation of a physical quantity as a function of time, space, distance, position, temperature, pressure, etc. These quantities are usually
More informationThe Convolution Sum for Discrete-Time LTI Systems
The Convolution Sum for Discrete-Time LTI Systems Andrew W. H. House 01 June 004 1 The Basics of the Convolution Sum Consider a DT LTI system, L. x(n) L y(n) DT convolution is based on an earlier result
More information2 Classification of Continuous-Time Systems
Continuous-Time Signals and Systems 1 Preliminaries Notation for a continuous-time signal: x(t) Notation: If x is the input to a system T and y the corresponding output, then we use one of the following
More informationProperties of LTI Systems
Properties of LTI Systems Properties of Continuous Time LTI Systems Systems with or without memory: A system is memory less if its output at any time depends only on the value of the input at that same
More informationSignals and Systems. Problem Set: The z-transform and DT Fourier Transform
Signals and Systems Problem Set: The z-transform and DT Fourier Transform Updated: October 9, 7 Problem Set Problem - Transfer functions in MATLAB A discrete-time, causal LTI system is described by the
More informationSolutions of Chapter 3 Part 1/2
Page 1 of 7 Solutions of Chapter 3 Part 1/ Problem 3.1-1 Find the energy of the signals depicted in Figs.P3.1-1. Figure 1: Fig3.1-1 (a) E x n x[n] 1 + + 3 + + 1 19 (b) E x n x[n] 1 + + 3 + + 1 19 (c) E
More informationECE 301 Fall 2011 Division 1 Homework 5 Solutions
ECE 301 Fall 2011 ivision 1 Homework 5 Solutions Reading: Sections 2.4, 3.1, and 3.2 in the textbook. Problem 1. Suppose system S is initially at rest and satisfies the following input-output difference
More informationAssignment 6, Math 575A
Assignment 6, Math 575A Part I Matlab Section: MATLAB has special functions to deal with polynomials. Using these commands is usually recommended, since they make the code easier to write and understand
More informationCH.3 Continuous-Time Linear Time-Invariant System
CH.3 Continuous-Time Linear Time-Invariant System 1 LTI System Characterization 1.1 what does LTI mean? In Ch.2, the properties of the system are investigated. We are particularly interested in linear
More information13. Power Spectrum. For a deterministic signal x(t), the spectrum is well defined: If represents its Fourier transform, i.e., if.
For a deterministic signal x(t), the spectrum is well defined: If represents its Fourier transform, i.e., if jt X ( ) = xte ( ) dt, (3-) then X ( ) represents its energy spectrum. his follows from Parseval
More informatione jωt y (t) = ω 2 Ke jωt K =
BME 171, Sec 2: Homework 2 Solutions due Tue, Sep 16 by 5pm 1. Consider a system governed by the second-order differential equation a d2 y(t) + b dy(t) where a, b and c are nonnegative real numbers. (a)
More informationECE-314 Fall 2012 Review Questions for Midterm Examination II
ECE-314 Fall 2012 Review Questions for Midterm Examination II First, make sure you study all the problems and their solutions from homework sets 4-7. Then work on the following additional problems. Problem
More informationCh 2: Linear Time-Invariant System
Ch 2: Linear Time-Invariant System A system is said to be Linear Time-Invariant (LTI) if it possesses the basic system properties of linearity and time-invariance. Consider a system with an output signal
More informationGATE EE Topic wise Questions SIGNALS & SYSTEMS
www.gatehelp.com GATE EE Topic wise Questions YEAR 010 ONE MARK Question. 1 For the system /( s + 1), the approximate time taken for a step response to reach 98% of the final value is (A) 1 s (B) s (C)
More informationDepartment of Electrical and Computer Engineering Digital Speech Processing Homework No. 6 Solutions
Problem 1 Department of Electrical and Computer Engineering Digital Speech Processing Homework No. 6 Solutions The complex cepstrum, ˆx[n], of a sequence x[n] is the inverse Fourier transform of the complex
More informationFinal Exam of ECE301, Prof. Wang s section 1 3pm Tuesday, December 11, 2012, Lily 1105.
Final Exam of ECE301, Prof. Wang s section 1 3pm Tuesday, December 11, 2012, Lily 1105. 1. Please make sure that it is your name printed on the exam booklet. Enter your student ID number, e-mail address,
More informationEE 210. Signals and Systems Solutions of homework 2
EE 2. Signals and Systems Solutions of homework 2 Spring 2 Exercise Due Date Week of 22 nd Feb. Problems Q Compute and sketch the output y[n] of each discrete-time LTI system below with impulse response
More informationMAE143A Signals & Systems - Homework 5, Winter 2013 due by the end of class Tuesday February 12, 2013.
MAE43A Signals & Systems - Homework 5, Winter 23 due by the end of class Tuesday February 2, 23. If left under my door, then straight to the recycling bin with it. This week s homework will be a refresher
More informationDiscussion Section #2, 31 Jan 2014
Discussion Section #2, 31 Jan 2014 Lillian Ratliff 1 Unit Impulse The unit impulse (Dirac delta) has the following properties: { 0, t 0 δ(t) =, t = 0 ε ε δ(t) = 1 Remark 1. Important!: An ordinary function
More informationFinal Exam January 31, Solutions
Final Exam January 31, 014 Signals & Systems (151-0575-01) Prof. R. D Andrea & P. Reist Solutions Exam Duration: Number of Problems: Total Points: Permitted aids: Important: 150 minutes 7 problems 50 points
More informationSignals and Systems Profs. Byron Yu and Pulkit Grover Fall Midterm 1 Solutions
8-90 Signals and Sysems Profs. Byron Yu and Pulki Grover Fall 07 Miderm Soluions Name: Andrew ID: Problem Score Max 0 8 4 6 5 0 6 0 7 8 9 0 6 Toal 00 Miderm Soluions. (0 poins) Deermine wheher he following
More informationNAME: ht () 1 2π. Hj0 ( ) dω Find the value of BW for the system having the following impulse response.
University of California at Berkeley Department of Electrical Engineering and Computer Sciences Professor J. M. Kahn, EECS 120, Fall 1998 Final Examination, Wednesday, December 16, 1998, 5-8 pm NAME: 1.
More informationUniversiti Malaysia Perlis EKT430: DIGITAL SIGNAL PROCESSING LAB ASSIGNMENT 3: DISCRETE TIME SYSTEM IN TIME DOMAIN
Universiti Malaysia Perlis EKT430: DIGITAL SIGNAL PROCESSING LAB ASSIGNMENT 3: DISCRETE TIME SYSTEM IN TIME DOMAIN Pusat Pengajian Kejuruteraan Komputer Dan Perhubungan Universiti Malaysia Perlis Discrete-Time
More informationNew Mexico State University Klipsch School of Electrical Engineering. EE312 - Signals and Systems I Spring 2018 Exam #1
New Mexico State University Klipsch School of Electrical Engineering EE312 - Signals and Systems I Spring 2018 Exam #1 Name: Prob. 1 Prob. 2 Prob. 3 Prob. 4 Total / 30 points / 20 points / 25 points /
More informationFigure 1 A linear, time-invariant circuit. It s important to us that the circuit is both linear and time-invariant. To see why, let s us the notation
Convolution In this section we consider the problem of determining the response of a linear, time-invariant circuit to an arbitrary input, x(t). This situation is illustrated in Figure 1 where x(t) is
More information1.4 Unit Step & Unit Impulse Functions
1.4 Unit Step & Unit Impulse Functions 1.4.1 The Discrete-Time Unit Impulse and Unit-Step Sequences Unit Impulse Function: δ n = ቊ 0, 1, n 0 n = 0 Figure 1.28: Discrete-time Unit Impulse (sample) 1 [n]
More informationE2.5 Signals & Linear Systems. Tutorial Sheet 1 Introduction to Signals & Systems (Lectures 1 & 2)
E.5 Signals & Linear Systems Tutorial Sheet 1 Introduction to Signals & Systems (Lectures 1 & ) 1. Sketch each of the following continuous-time signals, specify if the signal is periodic/non-periodic,
More informationProblem 1: (3 points) Recall that the dot product of two vectors in R 3 is
Linear Algebra, Spring 206 Homework 3 Name: Problem : (3 points) Recall that the dot product of two vectors in R 3 is a x b y = ax + by + cz, c z and this is essentially the same as the matrix multiplication
More informationNew Mexico State University Klipsch School of Electrical Engineering. EE312 - Signals and Systems I Fall 2017 Exam #1
New Mexico State University Klipsch School of Electrical Engineering EE312 - Signals and Systems I Fall 2017 Exam #1 Name: Prob. 1 Prob. 2 Prob. 3 Prob. 4 Total / 30 points / 20 points / 25 points / 25
More informationFinal Exam of ECE301, Prof. Wang s section 8 10am Tuesday, May 6, 2014, EE 129.
Final Exam of ECE301, Prof. Wang s section 8 10am Tuesday, May 6, 2014, EE 129. 1. Please make sure that it is your name printed on the exam booklet. Enter your student ID number, e-mail address, and signature
More information2. CONVOLUTION. Convolution sum. Response of d.t. LTI systems at a certain input signal
2. CONVOLUTION Convolution sum. Response of d.t. LTI systems at a certain input signal Any signal multiplied by the unit impulse = the unit impulse weighted by the value of the signal in 0: xn [ ] δ [
More informationMathematical Foundations of Signal Processing
Mathematical Foundations of Signal Processing Module 4: Continuous-Time Systems and Signals Benjamín Béjar Haro Mihailo Kolundžija Reza Parhizkar Adam Scholefield October 24, 2016 Continuous Time Signals
More informationFinal Exam of ECE301, Section 3 (CRN ) 8 10am, Wednesday, December 13, 2017, Hiler Thtr.
Final Exam of ECE301, Section 3 (CRN 17101-003) 8 10am, Wednesday, December 13, 2017, Hiler Thtr. 1. Please make sure that it is your name printed on the exam booklet. Enter your student ID number, and
More informationEECE 3620: Linear Time-Invariant Systems: Chapter 2
EECE 3620: Linear Time-Invariant Systems: Chapter 2 Prof. K. Chandra ECE, UMASS Lowell September 7, 2016 1 Continuous Time Systems In the context of this course, a system can represent a simple or complex
More informationMAE143 A - Signals and Systems - Winter 11 Midterm, February 2nd
MAE43 A - Signals and Systems - Winter Midterm, February 2nd Instructions (i) This exam is open book. You may use whatever written materials you choose, including your class notes and textbook. You may
More information5 Kalman filters. 5.1 Scalar Kalman filter. Unit delay Signal model. System model
5 Kalman filters 5.1 Scalar Kalman filter 5.1.1 Signal model System model {Y (n)} is an unobservable sequence which is described by the following state or system equation: Y (n) = h(n)y (n 1) + Z(n), n
More informationFinal Exam of ECE301, Section 1 (Prof. Chih-Chun Wang) 1 3pm, Friday, December 13, 2016, EE 129.
Final Exam of ECE301, Section 1 (Prof. Chih-Chun Wang) 1 3pm, Friday, December 13, 2016, EE 129. 1. Please make sure that it is your name printed on the exam booklet. Enter your student ID number, and
More informationNAME: 23 February 2017 EE301 Signals and Systems Exam 1 Cover Sheet
NAME: 23 February 2017 EE301 Signals and Systems Exam 1 Cover Sheet Test Duration: 75 minutes Coverage: Chaps 1,2 Open Book but Closed Notes One 85 in x 11 in crib sheet Calculators NOT allowed DO NOT
More informationHomework 3 Solutions
EECS Signals & Systems University of California, Berkeley: Fall 7 Ramchandran September, 7 Homework 3 Solutions (Send your grades to ee.gsi@gmail.com. Check the course website for details) Review Problem
More informationReview of Frequency Domain Fourier Series: Continuous periodic frequency components
Today we will review: Review of Frequency Domain Fourier series why we use it trig form & exponential form how to get coefficients for each form Eigenfunctions what they are how they relate to LTI systems
More informationIII. Time Domain Analysis of systems
1 III. Time Domain Analysis of systems Here, we adapt properties of continuous time systems to discrete time systems Section 2.2-2.5, pp 17-39 System Notation y(n) = T[ x(n) ] A. Types of Systems Memoryless
More information2 Solving Ordinary Differential Equations Using MATLAB
Penn State Erie, The Behrend College School of Engineering E E 383 Signals and Control Lab Spring 2008 Lab 3 System Responses January 31, 2008 Due: February 7, 2008 Number of Lab Periods: 1 1 Objective
More informationConvolution. Define a mathematical operation on discrete-time signals called convolution, represented by *. Given two discrete-time signals x 1, x 2,
Filters Filters So far: Sound signals, connection to Fourier Series, Introduction to Fourier Series and Transforms, Introduction to the FFT Today Filters Filters: Keep part of the signal we are interested
More informationStatistical methods. Mean value and standard deviations Standard statistical distributions Linear systems Matrix algebra
Statistical methods Mean value and standard deviations Standard statistical distributions Linear systems Matrix algebra Statistical methods Generating random numbers MATLAB has many built-in functions
More informationCMSC 426 Problem Set 2
CMSC 426 Problem Set 2 Lorin Hochstein - 1684386 March 3, 23 1 Convolution with Gaussian Claim Let g(t, σ 2 ) be a Gaussian kernel, i.e. ( ) g(t, σ 2 1 ) = exp t2 2πσ 2 2σ 2 Then for any function x(t),
More informationUNIVERSITY OF MANITOBA
Question Points Score INSTRUCTIONS TO STUDENTS: This is a 6 hour examination. No extra time will be given. No texts, notes, or other aids are permitted. There are no calculators, cellphones or electronic
More informationProblem 1. Suppose we calculate the response of an LTI system to an input signal x(n), using the convolution sum:
EE 438 Homework 4. Corrections in Problems 2(a)(iii) and (iv) and Problem 3(c): Sunday, 9/9, 10pm. EW DUE DATE: Monday, Sept 17 at 5pm (you see, that suggestion box does work!) Problem 1. Suppose we calculate
More informationModule 1: Signals & System
Module 1: Signals & System Lecture 6: Basic Signals in Detail Basic Signals in detail We now introduce formally some of the basic signals namely 1) The Unit Impulse function. 2) The Unit Step function
More informationNoise - irrelevant data; variability in a quantity that has no meaning or significance. In most cases this is modeled as a random variable.
1.1 Signals and Systems Signals convey information. Systems respond to (or process) information. Engineers desire mathematical models for signals and systems in order to solve design problems efficiently
More informationClassification of Discrete-Time Systems. System Properties. Terminology: Implication. Terminology: Equivalence
Classification of Discrete-Time Systems Professor Deepa Kundur University of Toronto Why is this so important? mathematical techniques developed to analyze systems are often contingent upon the general
More informationEE Homework 5 - Solutions
EE054 - Homework 5 - Solutions 1. We know the general result that the -transform of α n 1 u[n] is with 1 α 1 ROC α < < and the -transform of α n 1 u[ n 1] is 1 α 1 with ROC 0 < α. Using this result, the
More informationECEEN 5448 Fall 2011 Homework #4 Solutions
ECEEN 5448 Fall 2 Homework #4 Solutions Professor David G. Meyer Novemeber 29, 2. The state-space realization is A = [ [ ; b = ; c = [ which describes, of course, a free mass (in normalized units) with
More informationLecture 10: Powers of Matrices, Difference Equations
Lecture 10: Powers of Matrices, Difference Equations Difference Equations A difference equation, also sometimes called a recurrence equation is an equation that defines a sequence recursively, i.e. each
More informationLAB 2: DTFT, DFT, and DFT Spectral Analysis Summer 2011
University of Illinois at Urbana-Champaign Department of Electrical and Computer Engineering ECE 311: Digital Signal Processing Lab Chandra Radhakrishnan Peter Kairouz LAB 2: DTFT, DFT, and DFT Spectral
More informationGEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL & COMPUTER ENGINEERING FINAL EXAM. COURSE: ECE 3084A (Prof. Michaels)
GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL & COMPUTER ENGINEERING FINAL EXAM DATE: 30-Apr-14 COURSE: ECE 3084A (Prof. Michaels) NAME: STUDENT #: LAST, FIRST Write your name on the front page
More informationThe Johns Hopkins University Department of Electrical and Computer Engineering Introduction to Linear Systems Fall 2002.
The Johns Hopkins University Department of Electrical and Computer Engineering 505.460 Introduction to Linear Systems Fall 2002 Final exam Name: You are allowed to use: 1. Table 3.1 (page 206) & Table
More information1. The Transition Matrix (Hint: Recall that the solution to the linear equation ẋ = Ax + Bu is
ECE 55, Fall 2007 Problem Set #4 Solution The Transition Matrix (Hint: Recall that the solution to the linear equation ẋ Ax + Bu is x(t) e A(t ) x( ) + e A(t τ) Bu(τ)dτ () This formula is extremely important
More informationAdaptive Systems Homework Assignment 1
Signal Processing and Speech Communication Lab. Graz University of Technology Adaptive Systems Homework Assignment 1 Name(s) Matr.No(s). The analytical part of your homework (your calculation sheets) as
More informationChapter 1 Fundamental Concepts
Chapter 1 Fundamental Concepts 1 Signals A signal is a pattern of variation of a physical quantity, often as a function of time (but also space, distance, position, etc). These quantities are usually the
More informationECE 3793 Matlab Project 3
ECE 3793 Matlab Project 3 Spring 2017 Dr. Havlicek DUE: 04/25/2017, 11:59 PM What to Turn In: Make one file that contains your solution for this assignment. It can be an MS WORD file or a PDF file. Make
More informationProject One: C Bump functions
Project One: C Bump functions James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 2, 2018 Outline 1 2 The Project Let s recall what the
More informationAMS 27L LAB #6 Winter 2009
AMS 27L LAB #6 Winter 2009 Symbolically Solving Differential Equations Objectives: 1. To learn about the MATLAB Symbolic Solver 2. To expand knowledge of solutions to Diff-EQs 1 Symbolically Solving Differential
More informationUsing MATLAB with the Convolution Method
ECE 350 Linear Systems I MATLAB Tutorial #5 Using MATLAB with the Convolution Method A linear system with input, x(t), and output, y(t), can be described in terms of its impulse response, h(t). x(t) h(t)
More informationLinear System Theory
Linear System Theory Wonhee Kim Chapter 6: Controllability & Observability Chapter 7: Minimal Realizations May 2, 217 1 / 31 Recap State space equation Linear Algebra Solutions of LTI and LTV system Stability
More informationMTH5112 Linear Algebra I MTH5212 Applied Linear Algebra (2017/2018)
MTH5112 Linear Algebra I MTH5212 Applied Linear Algebra (2017/2018) COURSEWORK 3 SOLUTIONS Exercise ( ) 1. (a) Write A = (a ij ) n n and B = (b ij ) n n. Since A and B are diagonal, we have a ij = 0 and
More informationCALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems
CDS 101 1. Åström and Murray, Exercise 1.3 2. Åström and Murray, Exercise 1.4 3. Åström and Murray, Exercise 2.6, parts (a) and (b) CDS 110a 1. Åström and Murray, Exercise 1.4 2. Åström and Murray, Exercise
More informationChapter 3. Discrete-Time Systems
Chapter 3 Discrete-Time Systems A discrete-time system can be thought of as a transformation or operator that maps an input sequence {x[n]} to an output sequence {y[n]} {x[n]} T(. ) {y[n]} By placing various
More informationLinear algebra and differential equations (Math 54): Lecture 20
Linear algebra and differential equations (Math 54): Lecture 20 Vivek Shende April 7, 2016 Hello and welcome to class! Last time We started discussing differential equations. We found a complete set of
More informationODE Homework 1. Due Wed. 19 August 2009; At the beginning of the class
ODE Homework Due Wed. 9 August 2009; At the beginning of the class. (a) Solve Lẏ + Ry = E sin(ωt) with y(0) = k () L, R, E, ω are positive constants. (b) What is the limit of the solution as ω 0? (c) Is
More informationUniversity Question Paper Solution
Unit 1: Introduction University Question Paper Solution 1. Determine whether the following systems are: i) Memoryless, ii) Stable iii) Causal iv) Linear and v) Time-invariant. i) y(n)= nx(n) ii) y(t)=
More informationEE123 Digital Signal Processing
EE123 Digital Signal Processing Lecture 2 Discrete Time Systems Today Last time: Administration Overview Announcement: HW1 will be out today Lab 0 out webcast out Today: Ch. 2 - Discrete-Time Signals and
More informationEEL3135: Homework #4
EEL335: Homework #4 Problem : For each of the systems below, determine whether or not the system is () linear, () time-invariant, and (3) causal: (a) (b) (c) xn [ ] cos( 04πn) (d) xn [ ] xn [ ] xn [ 5]
More informationEscola Federal de Engenharia de Itajubá
Escola Federal de Engenharia de Itajubá Departamento de Engenharia Mecânica Pós-Graduação em Engenharia Mecânica MPF04 ANÁLISE DE SINAIS E AQUISIÇÃO DE DADOS SINAIS E SISTEMAS Trabalho 01 (MATLAB) Prof.
More informationNonlinear Control Lecture # 14 Input-Output Stability. Nonlinear Control
Nonlinear Control Lecture # 14 Input-Output Stability L Stability Input-Output Models: y = Hu u(t) is a piecewise continuous function of t and belongs to a linear space of signals The space of bounded
More informationEC Signals and Systems
UNIT I CLASSIFICATION OF SIGNALS AND SYSTEMS Continuous time signals (CT signals), discrete time signals (DT signals) Step, Ramp, Pulse, Impulse, Exponential 1. Define Unit Impulse Signal [M/J 1], [M/J
More information信號與系統 Signals and Systems
Spring 2010 信號與系統 Signals and Systems Chapter SS-2 Linear Time-Invariant Systems Feng-Li Lian NTU-EE Feb10 Jun10 Figures and images used in these lecture notes are adopted from Signals & Systems by Alan
More informationECE 301 Division 1 Final Exam Solutions, 12/12/2011, 3:20-5:20pm in PHYS 114.
ECE 301 Division 1 Final Exam Solutions, 12/12/2011, 3:20-5:20pm in PHYS 114. The exam for both sections of ECE 301 is conducted in the same room, but the problems are completely different. Your ID will
More information3.2 Complex Sinusoids and Frequency Response of LTI Systems
3. Introduction. A signal can be represented as a weighted superposition of complex sinusoids. x(t) or x[n]. LTI system: LTI System Output = A weighted superposition of the system response to each complex
More informationMeasure and Integration: Solutions of CW2
Measure and Integration: s of CW2 Fall 206 [G. Holzegel] December 9, 206 Problem of Sheet 5 a) Left (f n ) and (g n ) be sequences of integrable functions with f n (x) f (x) and g n (x) g (x) for almost
More informationCIS 4930/6930: Principles of Cyber-Physical Systems
CIS 4930/6930: Principles of Cyber-Physical Systems Chapter 2: Continuous Dynamics Hao Zheng Department of Computer Science and Engineering University of South Florida H. Zheng (CSE USF) CIS 4930/6930:
More informationECE 3620: Laplace Transforms: Chapter 3:
ECE 3620: Laplace Transforms: Chapter 3: 3.1-3.4 Prof. K. Chandra ECE, UMASS Lowell September 21, 2016 1 Analysis of LTI Systems in the Frequency Domain Thus far we have understood the relationship between
More informationSolutions to Homework 11
Solutions to Homework 11 Read the statement of Proposition 5.4 of Chapter 3, Section 5. Write a summary of the proof. Comment on the following details: Does the proof work if g is piecewise C 1? Or did
More informationSolution 10 July 2015 ECE301 Signals and Systems: Midterm. Cover Sheet
Solution 10 July 2015 ECE301 Signals and Systems: Midterm Cover Sheet Test Duration: 60 minutes Coverage: Chap. 1,2,3,4 One 8.5" x 11" crib sheet is allowed. Calculators, textbooks, notes are not allowed.
More informationLAB 6: FIR Filter Design Summer 2011
University of Illinois at Urbana-Champaign Department of Electrical and Computer Engineering ECE 311: Digital Signal Processing Lab Chandra Radhakrishnan Peter Kairouz LAB 6: FIR Filter Design Summer 011
More information