discrete signals
play

Discrete Signals Prof. Seungchul Lee Industrial AI Lab. Most - PowerPoint PPT Presentation

Discrete Signals Prof. Seungchul Lee Industrial AI Lab. Most slides from (edX) Discrete Time Signals and Systems by Prof. Richard G. Baraniuk 1 Discrete Time Signals A signal [] is a function that maps an independent variable to a


  1. Discrete Signals Prof. Seungchul Lee Industrial AI Lab. Most slides from (edX) Discrete Time Signals and Systems by Prof. Richard G. Baraniuk 1

  2. Discrete Time Signals β€’ A signal 𝑦[π‘œ] is a function that maps an independent variable to a dependent variable. β€’ We will focus on discrete-time signals 𝑦[π‘œ] – Independent variable is an integer: π‘œ ∈ β„€ – Dependent variable is a real or complex number: 𝑦 π‘œ ∈ ℝ or β„‚ 2

  3. Plot Real Signals β€’ Continuous signal 3

  4. Plot Real Signals β€’ Discrete signals 4

  5. Discrete Signal Properties 5

  6. Finite/Infinite Length Signals β€’ An infinite-length discrete-time signal 𝑦[π‘œ] is defined for all π‘œ ∈ β„€ , i.e., βˆ’βˆž < π‘œ < ∞ β€’ An finite-length discrete-time signal 𝑦[π‘œ] is defined only for a finite range of 𝑂 1 ≀ π‘œ ≀ 𝑂 2 6

  7. Periodic Signals β€’ A discrete-time signal is periodic if it repeats with period 𝑂 ∈ β„€ β€’ The period 𝑂 must be an integer β€’ A periodic signal is infinite in length 7

  8. Periodic Signals β€’ Convert a finite-length signal 𝑦[π‘œ] defined for 𝑂 1 ≀ π‘œ ≀ 𝑂 2 into an infinite-length signal by either – (infinite) zero padding, or – periodization with period 𝑂 8

  9. Modular Arithmetic β€’ Modular arithmetic with modulus 𝑂 takes place on a clock with 𝑂 – Modular arithmetic is inherently periodic β€’ Periodization via Modular Arithmetic – Consider a length- 𝑂 signal 𝑦[π‘œ] defined for 0 ≀ π‘œ ≀ 𝑂 βˆ’ 1 – A convenient way to express periodization with period 𝑂 is 𝑧 π‘œ = 𝑦 π‘œ 𝑂 – Important interpretation β€’ Infinite-length signals live on the (infinite) number line β€’ Periodic signals live on a circle 9

  10. Finite-Length and Periodic Signals β€’ Finite-length and periodic signals are equivalent – All of the information in a periodic signal is contained in one period (of finite length) – Any finite-length signal can be periodized – Conclusion: We will think of finite-length signals and periodic signals interchangeably 10

  11. Finite-Length and Periodic Signals β€’ Shifting infinite-length signals – Given an infinite-length signal 𝑦[π‘œ] , we can shift back and forth in time via 𝑦[π‘œ βˆ’ 𝑛] – When 𝑛 > 0 , 𝑦[π‘œ βˆ’ 𝑛] shifts to the right (forward in time, delay) – When 𝑛 < 0 , 𝑦[π‘œ βˆ’ 𝑛] shifts to the left (back in time, advance) 11

  12. Finite-Length and Periodic Signals β€’ Shifting periodic signals – Periodic signals can also be shifted; consider 𝑧 π‘œ = 𝑦 (π‘œ) 𝑂 – Shift one sample into the future: 𝑧 π‘œ βˆ’ 1 = 𝑦 (π‘œ βˆ’ 1) 𝑂 12

  13. Shifting Finite-Length Signals β€’ Consider finite-length signals 𝑦 and 𝑧 defined for 0 ≀ π‘œ ≀ 𝑂 βˆ’ 1 and suppose 𝑧 π‘œ = 𝑦[π‘œ βˆ’ 1] β€’ What to put in 𝑧[0] ? What to do with 𝑦[𝑂 βˆ’ 1] ? We do not want to invent/lose information β€’ Elegant solution: Assume 𝑦 and 𝑧 are both periodic with period 𝑂 ; then 𝑧 π‘œ = 𝑦 (π‘œ βˆ’ 1) 𝑂 β€’ This is called a periodic or circular shift 13

  14. Circular Time Reversal β€’ Example with 𝑂 = 8 14

  15. Key Discrete Signals 15

  16. Delta Function β€’ Delta function = unit impulse = unit sample β€’ The shifted delta function πœ€[π‘œ βˆ’ 𝑛] peaks up at π‘œ = 𝑛 , (here 𝑛 = 5 ) 16

  17. Delta Function Sample β€’ Multiplying a signal by a shifted delta function picks out one sample of the signal and sets all other samples to zero β€’ Important: 𝑛 is a fixed constant, and so 𝑦[𝑛] is a constant (and not a signal) 17

  18. Unit Step Function β€’ The shifted unit step 𝑣[π‘œ βˆ’ 𝑛] jumps from 0 to 1 at π‘œ = 𝑛 , (here 𝑛 = 4 ) 18

  19. Unit Step Selects Part of a Signal β€’ Multiplying a signal by a shifted unit step function zeros out its entries for π‘œ < 𝑛 19

  20. Real Exponential β€’ The real exponential β€’ For 𝑏 > 1 , 𝑦[π‘œ] grows to the right β€’ For 0 < 𝑏 < 1 , 𝑦[π‘œ] shrinks to the right 20

  21. Sinusoid Signals β€’ There are two natural real-valued sinusoids: cos(πœ•π‘œ + 𝜚) and sin(πœ•π‘œ + 𝜚) – Frequency: πœ• (units: radians/sample) – Phase: 𝜚 (units: radians) – cos(πœ•π‘œ) – sin(πœ•π‘œ) 21

  22. Sinusoid Signals β€’ cos(0π‘œ) 2𝜌 β€’ cos 10 π‘œ 4𝜌 β€’ cos 10 π‘œ 6𝜌 β€’ cos 10 π‘œ 10𝜌 β€’ cos 10 π‘œ = cos πœŒπ‘œ 22

  23. Phase of Sinusoid 2𝜌 β€’ cos 10 π‘œ 2𝜌 𝜌 β€’ cos 10 π‘œ βˆ’ 2 2𝜌 2𝜌 β€’ cos 10 π‘œ βˆ’ 2 2𝜌 3𝜌 β€’ cos 10 π‘œ βˆ’ 2 2𝜌 4𝜌 2𝜌 β€’ cos 10 π‘œ βˆ’ = cos 10 π‘œ 2 23

  24. Complex Sinusoid 24

  25. Complex Number β€’ Adding 25

  26. Euler’s Formula 26

  27. Complex Number β€’ Multiplying 27

  28. Plot Complex Signals β€’ When 𝑦 π‘œ ∈ β„‚ , we can use two signal plots β€’ For 𝑓 π‘˜πœ•π‘œ phase 28

  29. Geometrical Meaning of 𝒇 π’‹πœΎ β€’ 𝑓 π‘—πœ„ : point on the unit circle with angle of πœ„ β€’ πœ„ = πœ•π‘’ β€’ 𝑓 π‘—πœ•π‘’ : rotating on an unit circle with angular velocity of πœ• β€’ Question: what is the physical meaning of 𝑓 βˆ’π‘—πœ•π‘’ ? 29

  30. Sinusoidal Functions from Circular Motions 30

  31. Sinusoidal Functions from Circular Motions 31

  32. Discrete Sinusoids β€’ Discrete Sinusoids 32

  33. Visualize the Discrete Sinusoidals 33

  34. Visualize the Discrete Sinusoidals 2𝜌 8 3, 𝑓 π‘˜πœ•0 β€’ πœ• = 34

  35. Visualize the Discrete Sinusoidals 2𝜌 8 3, 𝑓 π‘˜πœ•1 β€’ πœ• = 35

  36. Visualize the Discrete Sinusoidals 2𝜌 8 3, 𝑓 π‘˜πœ•2 β€’ πœ• = 36

  37. Visualize the Discrete Sinusoidals 2𝜌 8 3, 𝑓 π‘˜πœ•3 β€’ πœ• = 37

  38. Visualize the Discrete Sinusoidals 2𝜌 8 3, 𝑓 π‘˜πœ•4 β€’ πœ• = 38

  39. Visualize the Discrete Sinusoidals 2𝜌 8 3, 𝑓 π‘˜πœ•5 β€’ πœ• = 39

  40. Visualize the Discrete Sinusoidals 2𝜌 8 3, 𝑓 π‘˜πœ•6 β€’ πœ• = 40

  41. Visualize the Discrete Sinusoidals 2𝜌 8 3, 𝑓 π‘˜πœ•7 β€’ πœ• = 41

  42. Visualize the Discrete Sinusoidals 2𝜌 8 3, 𝑓 π‘˜πœ•8 β€’ πœ• = 42

  43. Aliasing 43

  44. Aliasing of Discrete Sinusoids β€’ Consider two sinusoids with two different frequencies β€’ But note that β€’ The signal 𝑦 1 and 𝑦 2 have different frequencies but are identical β€’ We say that 𝑦 1 and 𝑦 2 are aliases β€’ This phenomenon is called aliasing 44

  45. Alias-free Frequencies in Discrete Sinusoids β€’ Alias-free frequencies – The only frequencies that lead to unique (distinct) sinusoids lie in an interval of length 2𝜌 – Two intervals are typically used in the signal processing 45

  46. Low and High Frequencies in Discrete Sinusoids β€’ Low frequencies: πœ• closed to 0 and 2𝜌 β€’ High frequencies: πœ• closed to 𝜌 and βˆ’πœŒ 2𝜌 β€’ cos 20 π‘œ 2𝜌 18𝜌 β€’ cos 9 Γ— 20 π‘œ = cos 20 π‘œ 46

  47. Low and High Frequencies in Discrete Sinusoids β€’ Which one is a higher frequency? 47

  48. Frequency in Discrete Sinusoids 48

  49. Aliasing 49

  50. Aliasing 50

  51. Aliasing: Wheel 51

  52. Visual Matrix of Discrete Sinusoids 52

  53. Visual Matrix of Discrete Sinusoids 53

  54. Complex Exponential Signals with Damping 54

  55. Complex Exponential Signals β€’ Consider the general complex number 𝑨 = 𝑨 𝑓 π‘˜βˆ π‘¨ , 𝑨 ∈ β„‚ – 𝑨 = magnitude of 𝑨 – βˆ π‘¨ = phase angle of 𝑨 – Can visualize 𝑨 ∈ β„‚ as a point in the complex plane β€’ Complex exponential is a spiral – 𝑨 π‘œ is a real exponential envelope – 𝑓 π‘˜πœ•π‘œ is a complex sinusoid – 𝑨 π‘œ is a helix 55

  56. Damped Free Oscillation PHY245: Damped Mass On A Spring, https://www.youtube.com/watch?v=ZqedDWEAUN4 56

  57. Plot Complex Signals β€’ Rectangular form 57

  58. Plot Complex Signals β€’ Polar form 58

  59. Signals are Vectors 59

  60. Signals are Vectors β€’ Vectors in ℝ 𝑂 or β„‚ 𝑂 60

  61. Transpose of a Vector β€’ the transpose operation π‘ˆ converts a column vector to a row vector (and vice versa) β€’ In addition to transpose, the conjugate transpose (aka Hermitian transpose) operation 𝐼 takes the complex conjugate 61

  62. Transpose in MATLAB β€’ Be careful 62

  63. Matrix Multiplication as Linear Combination β€’ Linear Combination = Matrix Multiplication β€’ Given a collection of 𝑁 vectors 𝑦 0, 𝑦 1, β‹― 𝑦 π‘βˆ’1 and scalars 𝛽 0, 𝛽 1, β‹― 𝛽 π‘βˆ’1 , the linear combination of the vectors is given by 63

  64. Matrix Multiplication as Linear Combination β€’ Step 1: stack the vectors 𝑦 𝑛 as column vectors into an 𝑂 Γ— 𝑁 matrix β€’ Step 2: stack the scalars 𝛽 𝑛 into an 𝑁 Γ— 1 column vector β€’ Step 3: we can now write a linear combination as the matrix/vector product β€’ Note: the row- π‘œ , column- 𝑛 element of the matrix π‘Œ π‘œ,𝑛 = 𝑦 𝑛 [π‘œ] 64

  65. Inner Product β€’ The inner product (or dot product) between two vectors 𝑦, 𝑧 ∈ β„‚ 𝑂 is given by β€’ The inner product takes two signals (vectors in β„‚ 𝑂 ) and produces a single (complex) number β€’ Inner product of a signal with itself β€’ Two vectors 𝑦, 𝑧 ∈ β„‚ 𝑂 are orthogonal if 65

  66. Orthogonal Signals β€’ Two sets of orthogonal signals 66

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend