1 / 60

Discrete Time Periodic Signals

Discrete Time Periodic Signals. Definition:. A discrete time signal x[ n ] is periodic with period N if and only if. for all n. Meaning : a periodic signal keeps repeating itself forever!. Example: a Sinusoid. Consider the Sinusoid:. It is periodic with period since.

salaam
Télécharger la présentation

Discrete Time Periodic Signals

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Discrete Time Periodic Signals Definition: A discrete time signal x[n] is periodic with period N if and only if for all n . Meaning: a periodic signal keeps repeating itself forever!

  2. Example: a Sinusoid Consider the Sinusoid: It is periodic with period since for all n.

  3. General Periodic Sinusoid Consider a Sinusoid of the form: with k, N integers. It is periodic with period N since for all n.

  4. Example of Periodic Sinusoid Consider the sinusoid: We can write it as: It is periodic with period since for all n.

  5. Periodic Complex Exponentials Consider a Complex Exponential of the form: It is periodic with period N since for all n.

  6. Example of a Periodic Complex Exponential Consider the Complex Exponential: We can write it as and it is periodic with period N = 20.

  7. Reference Frames Goal: We want to write all discrete time periodic signals in terms of a common set of “reference signals”. • It is like the problem of representing a vector in a reference frame defined by • an origin “0” • reference vectors Reference Frame

  8. Reference Frames in the Plane and in Space For example in the plane we need two reference vectors Reference Frame … while in space we need three reference vectors Reference Frame

  9. A Reference Frame in the Plane If the reference vectors have unit length and they are perpendicular (orthogonal)to each other, then it is very simple: Where projection of along projection of along The plane is a 2 dimensional space.

  10. A Reference Frame in the Space If the reference vectors have unit length and they are perpendicular (orthogonal)to each other, then it is very simple: Where projection of along projection of along projection of along The “space” is a 3 dimensional space.

  11. N E Example: where am I? Point “x” is 300m East and 200m North of point “0”.

  12. Reference Frames for Signals We want to expand a generic signal into the sum of reference signals. The reference signals can be, for example, sinusoids or complex exponentials reference signals

  13. Back to Periodic Signals A periodic signal x[n] with period N can be expanded in terms of N complex exponentials as

  14. A Simple Example Take the periodic signal x[n] shown below: Notice that it is periodic with period N=2. Then the reference signals are We can easily verify that (try to believe!): for all n.

  15. Another Simple Example Take another periodic signal x[n] with the same period (N=2): Then the reference signals are the same We can easily verify that (again try to believe!): for all n. Same reference signals, just different coefficients

  16. Orthogonal Reference Signals Notice that, given any N, the reference signals are all orthogonal to each other, in the sense Since by the geometric sum

  17. … apply it to the signal representation … and we can compute the coefficients. Call then

  18. Discrete Fourier Series Given a periodic signal x[n] with period N we define the Discrete Fourier Series (DFS) as Since x[n] is periodic, we can sum over any period. The general definition of Discrete Fourier Series (DFS) is for any

  19. Inverse Discrete Fourier Series The inverse operation is called Inverse Discrete Fourier Series (IDFS), defined as

  20. Revisit the Simple Example Recall the periodic signal x[n] shown below, with period N=2: Then Therefore we can write the sequence as

  21. Example of Discrete Fourier Series Consider this periodic signal The period is N=10. We compute the Discrete Fourier Series

  22. … now plot the values …

  23. Example of DFS Compute the DFS of the periodic signal Compute a few values of the sequence and we see the period is N=2. Then which yields

  24. Signals of Finite Length All signals we collect in experiments have finite length Example: we have 30ms of data sampled at 20kHz (ie 20,000 samples/sec). Then we have

  25. Series Expansion of Finite Data We want to determine a series expansion of a data set of length N. Very easy: just look at the data as one period of a periodic sequence with period N and use the DFS:

  26. Discrete Fourier Transform (DFT) Given a finite interval of a data set of length N, we define the Discrete Fourier Transform (DFT) with the same expression as the Discrete Fourier Series (DFS): And its inverse

  27. Signals of Finite Length All signals we collect in experiments have finite length in time Example: we have 30ms of data sampled at 20kHz (ie 20,000 samples/sec). Then we have

  28. Series Expansion of Finite Data We want to determine a series expansion of a data set of length N. Very easy: just look at the data as one period of a periodic sequence with period N and use the DFS:

  29. Discrete Fourier Transform (DFT) Given a finite of a data set of length N we define the Discrete Fourier Transform (DFT) with the same expression as the Discrete Fourier Series (DFS): and its inverse

  30. Example of Discrete Fourier Transform Consider this signal The length is N=10. We compute the Discrete Fourier Transform

  31. … now plot the values …

  32. DFT of a Complex Exponential Consider a complex exponential of frequency rad. We take a finite data length … and its DFT How does it look like?

  33. Recall Magnitude, Frequency and Phase Recall the following: 1. We assume the frequency to be in the interval 2. We represented it in terms of magnitude and phase: magnitude phase

  34. Compute the DFT… Notice that it has a general form: where (use the geometric series)

  35. See its general form:

  36. … since:

  37. … and plot the magnitude

  38. Example Consider the sequence In this case Then its DFT becomes Let’s plot its magnitude:

  39. ... first plot this …

  40. … and then see the plot of its DFT The max corresponds to frequency

  41. Same Example in Matlab Generate the data: >> n=0:31; >>x=exp(j*0.3*pi*n); Compute the DFT (use the “Fast” Fourier Transform, FFT): >> X=fft(x); Plot its magnitude: >> plot(abs(X)) … and obtain the plot we saw in the previous slide.

  42. Same Example in Matlab Generate the data: >> n=0:31; >>x=exp(j*0.3*pi*n); Compute the DFT (use the “Fast” Fourier Transform, FFT): >> X=fft(x); Plot its magnitude: >> plot(abs(X)) … and obtain the plot we saw in the previous slide.

  43. Same Example (more data points) Consider the sequence In this case >> n=0:255; >>x=exp(j*0.3*pi*n); >> X=fft(x); >> plot(abs(X)) See the plot …

  44. … and its magnitude plot

  45. What does it mean? A peak at index means that you have a frequency The max corresponds to frequency

  46. Example You take the FFT of a signal and you get this magnitude: There are two peaks corresponding to two frequencies:

  47. DFT of a Sinusoid Consider a sinusoid with frequency rad. We take a finite data length … and its DFT How does it look like?

  48. magnitude phase Sinusoid = sum of two exponentials Recall that a sinusoid is the sum of two complex exponentials

  49. Use of positive frequencies Then the DFT of a sinusoid has two components … but we have seen that the frequencies we compute are positive. Therefore we replace the last exponential as follows:

  50. magnitude phase Represent a sinusoid with positive freq. Then the DFT of a sinusoid has two components

More Related