
Digital Signals and Systems Exercises with Solutions
Explore exercises and solutions related to digital signals and systems, including calculating sample values, generating sequences, determining linear systems, and more. Detailed visual aids and explanations provided for a comprehensive understanding.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
Digital Signals and Systems Exercise 1 Calculate the first eight sample values and sketch each of the following sequences:
Exercise 2 Generate and plot each of the following sequences over the indicated interval using MATLAB.
Solution 2 Unit sample sequence Function Using MATLAB Unit sample sequence:
Exercise 3 Let Determine and plot the following sequence.
Solution 3 The first part is obtained by shifting x(n) by 5 and the second part by shifting x(n) by 4. Two signals addition function. Signals shifting function.
Exercise 4 Given the digital signals ? ? in Figures write an expression for each digital signal using the unit-impulse sequence and its shifted sequences.
Exercise 5 Assume that a DS processor with a sampling time interval of 0.01 second converts the following analog signals ? ? to a digital signal ? ? ; determine the digital sequence for each of the analog signals.
Exercise 6 Determine whether the following systems are linear
Exercise 7 Determine whether the following linear systems are time-invariant. ?.? ? = ? ? ? = 5 ?(? 10) ?.? ? = ? ? ? = 10sin 0.1 ? ? ?(?)
Solution 7 ?. ??? ? ? = ? ? ? = 5 ?(? 10) ??? = ? ? ? ? = 5 ?(? 10 ?) The response due to shifted input is ? ? ? = 5 ? ? ? 10 = 5 ? ? 10 ? = ??? while the shifted output is Hence the given system is time-invariant. ?. ??? ? ? = ? ? ? = 10sin 0.1 ? ? ?(?) ??? = ? ? ? ? = 10sin 0.1 ? ? ?(? ?) The response due to shifted input is ? ? ? = 10sin[0.1 ? (? ?)] ?(? ?) ??? while the shifted output is Hence the given system is not time-invariant.
Exercise 8 Determine which of the following linear systems is causal.
Exercise 9 Find the unit-impulse response for each of the following linear systems.
Exercise 10 Determine the stability for each of the following linear systems.
Exercise 11 Using the sequence definitions, evaluate the digital convolution
Solution 11 k -4 -3 -2 -1 0 1 2 3 4 5 6 x(k) 2 1 1 h(-k) 1 1 2 2 2 y(0)=4 h(1-k) 1 1 2 2 2 y(1)=6 h(2-k) 1 1 2 2 2 y(2)=8 h(3-k) 1 1 2 2 2 y(3)=6 h(4-k) 1 1 2 2 2 y(4)=5 h(5-k) 1 1 2 2 2 y(5)=2 h(6-k) 1 1 2 2 2 y(6)=1
Exercise 12 Let the rectangular pulse be an input to an LTI system with impulse response Determine the output Given that the output of the system is given by either of the following two equivalent forms of the convolution sum:
Solution 12 There are three possible conditions under which u(n k) can be evaluated. In this case the nonzero values of x(n) and h(n) do not overlap. 0 n < 9: Then u(n k) = 1, 0 k n. In this case the impulse response h(n) partially overlaps the input x(n). n 9: Then u(n k) = 1, 0 k 9
Exercise 13 a. Find the even and the odd components of the discrete-time signal b. Use MATLAB function to decompose x[n] sequence into its even and odd components.
Solution 13 a The odd component
Solution 13 a Using MATLAB operations discussed so far, we can obtain the following evenodd function. MATLAB program to determine and plot its even and odd parts of x[n].
Exercise 14 Consider an autoregressive system represented by a first-order difference equation . a. Find the impulse response h[n] of the system b. Compute the response of the system to using the convolution sum. c. Verify results with MATLAB.
Solution 14 a The impulse response ? can be found recursively. Letting ? ? = ? ? ,? ? = ? , and initial condition ? 1 = 1 = 0, we have. from which a general expression for the impulse response is obtained as: ? = 0.5??[?]
Solution 14 b The response to ? ? = u[n] u[n 3] using the convolution sum is then given by Since as functions of ?,? ? ? ? ? = 1 ??? 0 ? ?, zero otherwise, and ? ? 3 ? ? ? = 1 ??? 3 ? ?, zero otherwise (in the two cases, draw the two signals as functions of ? and verify this is true), y[n] can be expressed as Another way to solve this problem is to notice that the input can be rewritten as and since the system is LTI, the output can be written as which gives which coincides with the above more general solution.
Solution 14 c The following MATLAB script is used to verify the above results. The MATLAB function filter is used to compute the impulse response and the response of the filter to the pulse. The output obtained then with filter coincided with the output computed using MATLAB function conv, as it should.