Presentation is loading. Please wait.

Presentation is loading. Please wait.

CT-321 Digital Signal Processing

Similar presentations


Presentation on theme: "CT-321 Digital Signal Processing"โ€” Presentation transcript:

1 CT-321 Digital Signal Processing
Yash Vasavada Autumn 2016 DA-IICT Lecture 6 LSI Systems and DTFT 16th August 2016

2 Review and Preview Review of past lecture: Preview of this lecture:
Different ways of understanding the convolution operation Preview of this lecture: Convolution Operation Relation to DTFT Properties of DTFT and LSI Systems Reading Assignment OS, 3rd Edition: Sections 1.2 to 1.4, and Sections 1.6 to 1.9 Note: available in the library PM: Sections 2.1 to 2.3

3 Convolution Operation
Output of an LSI system can be written as a function of its input ๐‘ฅ ๐‘› and impulse response โ„Ž(๐‘›): ๐‘ฆ ๐‘› = ๐‘˜=โˆ’โˆž โˆž ๐‘ฅ ๐‘˜ โ„Ž ๐‘›โˆ’๐‘˜ This formula represents the convolution operation between two D-T sequences ๐‘ฅ(๐‘›) and โ„Ž(๐‘›) There are several ways to understand the convolution operation. Use the principles of superposition and homogeneity Flipping the impulse response and slide it over the input ๐‘ฅ(๐‘›): demo on next several slides From: Analogy with multiplication of two polynomials Linear algebra and vector dot product Prior lecture Todayโ€™s lecture

4 Polynomial Multiplication
Consider two polynomials: ๐‘ ๐‘ฅ = ๐‘ 0 + ๐‘ 1 ๐‘ฅ+ ๐‘ 2 ๐‘ฅ 2 +โ€ฆ+ ๐‘ ๐‘ ๐‘ฅ ๐‘ ๐‘ž ๐‘ฅ = ๐‘ž 0 + ๐‘ž 1 ๐‘ฅ+ ๐‘ž 2 ๐‘ฅ 2 +โ€ฆ+ ๐‘ž ๐‘€ ๐‘ฅ ๐‘€ Product of these two polynomials is given as ๐‘Ÿ ๐‘ฅ =๐‘ ๐‘ฅ ๐‘ž ๐‘ฅ = ๐‘Ÿ 0 + ๐‘Ÿ 1 ๐‘ฅ+ ๐‘Ÿ 2 ๐‘ฅ 2 +โ€ฆ+ ๐‘Ÿ ๐‘+๐‘€ ๐‘ฅ ๐‘+๐‘€ Coefficients of this product polynomial can be calculated by convolution of the coefficients of ๐‘(๐‘ฅ) and ๐‘ž(๐‘ฅ) Define: ๐‘ ๐‘› = ๐‘ ๐‘› , ๐‘ž ๐‘› = ๐‘ž ๐‘› and ๐‘Ÿ ๐‘› = ๐‘Ÿ ๐‘› ๐‘Ÿ ๐‘› =๐‘ ๐‘› โˆ—๐‘ž(๐‘›) An indication of a proof showing why convolution in one domain (say, time domain) is equivalent to multiplication in another frequency domain Evaluate ๐‘(๐‘ฅ) and ๐‘ž(๐‘ฅ) and ๐‘ฅ=๐‘ข (equivalent to taking DTFT at frequency ๐‘“) and take product to get ๐‘Ÿ(๐‘ข), or Convolve ๐‘(๐‘›) and ๐‘ž(๐‘›) (equivalent to passing an input ๐‘(๐‘›) through an LSI system with impulse response ๐‘ž(๐‘›)) to get ๐‘Ÿ(๐‘›) and use that to evaluate ๐‘Ÿ(๐‘ฅ=๐‘ข)

5 A Brief Detour of Linear Algebra and Dot Products
๐‘ฆ Consider a point ๐ด on a unit circle in 2D plane This can be represented by a vector ๐‘จ= ๐ด 1 , ๐ด 2 ๐‘‡ Convention is to highlight (bold-face) the notation of a vector, which is usually a column of numbers. Notation ๐‘‡ stands for transpose, and it is used to convert a row vector into a column vector and vice versa Suppose this vector ๐‘จ makes an angle of ๐œƒ ๐ด with respect to ๐‘‹ axis Therefore ๐ด 1 = cos ๐œƒ ๐ด and ๐ด 2 = cos 90โˆ’ ๐œƒ ๐ด = sin ๐œƒ ๐ด We consider another point ๐ต and corresponding vector ๐ต=[ cos ๐œƒ ๐ต , sin ๐œƒ ๐ต ] What is the value of ๐ด 1 ๐ต 1 + ๐ด 2 ๐ต 2 ? Answer: cos ๐œƒ ๐ด โˆ’ ๐œƒ ๐ต ๐ต ๐ด ๐ด 2 ๐œƒ ๐ต ๐œƒ ๐ด ๐‘ฅ ๐ด 1 Unit length circle in 2D plane Angle between the two vectors

6 A Brief Detour of Linear Algebra and Dot Products
The dot product of two ๐‘›ร—1 (real-valued) vectors ๐‘จ = ๐ด 1 , ๐ด 2 , โ€ฆ, ๐ด ๐‘› ๐‘‡ and ๐‘ฉ = ๐ต 1 , ๐ต 2 , โ€ฆ, ๐ต ๐‘› ๐‘‡ is defined as Here, ๐‘จ denotes the norm of vector ๐‘จ, which is effectively its length Suppose vectors ๐‘จ and ๐‘ฉ are both unit length vectors. In this case, the dot product ๐‘จโˆ™๐‘ฉ is simply cos ๐œƒ , i.e., the cosine of the angle between the two vectors Generalization of the prior slide for which ๐‘›=2 This has a nice visualization: when the unit-norm vectors ๐‘จ and ๐‘ฉ are in a good alignment, angle ๐œƒ between them is near zero and the dot product approaches the maximum value of unity When does the dot product between vectors ๐‘จ and ๐‘ฉ become zero?

7 Convolution Operation as Sequential Dot Products
Output ๐‘ฆ= ๐‘†๐‘ฆ๐‘ ๐‘ก๐‘’๐‘š ๐•‹ or matrix ๐ป ร— Input ๐‘ฅ Define ๐’‰= โ„Ž ๐‘€ , โ„Ž ๐‘€โˆ’1 ,โ€ฆ, โ„Ž 1 , โ„Ž 0 ๐‘‡ as a system vector (flipped impulse response), and ๐’™ ๐‘› = ๐‘ฅ ๐‘› , ๐‘ฅ ๐‘›โˆ’1 ,โ€ฆ, ๐‘ฅ ๐‘›โˆ’๐‘€+1 , ๐‘ฅ ๐‘›โˆ’๐‘€ ๐‘‡ as a vector of input signal samples from samples ๐‘›โˆ’๐‘€ to ๐‘› With this, ๐‘› ๐‘กโ„Ž output sample is ๐‘ฆ ๐‘› = ๐’‰ ๐‘‡ ๐’™ ๐‘› , i.e., itโ€™s a dot product of system vector ๐’‰ with ๐’™ ๐‘› ๐‘ฆ ๐‘› will have a high value if ๐’™ ๐‘› is well aligned with ๐’‰, and will have a low value otherwise

8 An Aside: Why the Word โ€œLinearโ€?
Any system ๐•‹ that satisfies the properties of superposition and scaling by a constant is called a linear system Reason for the word โ€œlinearโ€ is that such systems allow a matrix viewpoint Output ๐‘ฆ(๐‘›) of such systems can be represented as a vector ๐’š=๐‘ฏ๐’™ As a course in elementary linear algebra shows, itโ€™s only lines and their generalizations (planes, etc.) that also can be described in such a way. A typical equation of a line: ๐‘ฆ=๐‘š๐‘ฅ+๐‘, where ๐‘š is the slope and ๐‘ is the abscissa This can be written as a matrix product ๐’š=๐‘ช๐’ƒ, where ๐‘ฆ= ๐‘ฆ 1 , ๐‘ฆ 2 ,โ€ฆ, ๐‘ฆ ๐‘€ ๐‘‡ is a vector of the Y- coordinates of ๐‘€ points along this line, ๐‘ช= ๐‘ฅ 1 1 โ‹ฎ โ‹ฎ ๐‘ฅ ๐‘€ 1 , and ๐’ƒ= ๐‘š ๐‘ Nonlinear functions such as powers, logarithms, exponentials, etc. have non-constant slope and they do not have such a matrix product representation


Download ppt "CT-321 Digital Signal Processing"

Similar presentations


Ads by Google