Return to Video

4.5 - DTFT: intuition and properties

  • 0:01 - 0:05
    We have seen the Discrete Time Fourier transform, DTFT,
  • 0:05 - 0:07
    to analyze infinite-length sequences.
  • 0:07 - 0:12
    The way we have done it is to look at it as a generalization of the DFT
  • 0:12 - 0:18
    where the frequency 2π over N goes toward smaller and smaller intervals
  • 0:18 - 0:20
    because N goes to infinity
  • 0:20 - 0:25
    and, in the limit, becomes an uncountable frequency ω.
  • 0:25 - 0:28
    Now the intuition is that we can still think of this as a transform
  • 0:28 - 0:31
    like the DFT was a transform,
  • 0:31 - 0:35
    and have all the intuition about expansion into basis functions
  • 0:35 - 0:38
    even though ω is actually an uncountable variable.
  • 0:38 - 0:41
    And so strictly speaking we don't have a basis.
  • 0:41 - 0:46
    However it helps a lot to think of the DTFT as a generalization of the DFT
  • 0:46 - 0:50
    so we can carry over all the intuition of finite dimensions
  • 0:50 - 0:52
    to this infinite dimensional transform.
  • 0:54 - 1:01
    Module 4.5 Discrete Time Fourier Transform - intuition and properties.
  • 1:03 - 1:07
    We have seen that the Discrete Time Fourier Transform, or DTFT,
  • 1:07 - 1:11
    and we now worry about conditions for its existence.
  • 1:11 - 1:15
    Then, we look at some properties of the DTFT.
  • 1:15 - 1:19
    And finally we give an interpretation of the DTFT as a basis expansion,
  • 1:19 - 1:25
    even though formally, it is not a basis.
  • 1:25 - 1:28
    We have here the formula of the Discrete Time Fourier Transform.
  • 1:28 - 1:32
    It's an infinite summation, and goes from minus infinity to plus infinity
  • 1:32 - 1:37
    of the sequence element x[n], multiplied by e to the -jωn.
  • 1:37 - 1:41
    Now this infinite sum could explode, and then we would be in trouble.
  • 1:41 - 1:44
    So the question is, when does it actually exist,
  • 1:44 - 1:48
    and how does it relate to the concept of changing the basis,
  • 1:48 - 1:51
    as we have seen for the DFT, for example?
  • 1:53 - 1:55
    Let us start with an easy case,
  • 1:55 - 2:01
    namely the case of sequences that are absolutely summable.
  • 2:01 - 2:03
    Let us look at the value,
  • 2:03 - 2:06
    or the maximum value of the discrete time Fourier transform.
  • 2:06 - 2:11
    So we look at the absolute value of x of e to the jω,
  • 2:11 - 2:15
    this is the absolute value of the formal sum of the DTFT.
  • 2:15 - 2:18
    Now, the absolute value of the sum is always smaller
  • 2:18 - 2:21
    or equal to the sum of the absolute values.
  • 2:21 - 2:23
    That's the second line.
  • 2:23 - 2:27
    And the absolute value of xn times e to the -jωn
  • 2:27 - 2:30
    is the product of the two absolute values.
  • 2:30 - 2:35
    Since the second term has an absolute value of 1, or a magnitude of 1,
  • 2:35 - 2:39
    we have simply the summation of the absolute value of xn,
  • 2:39 - 2:42
    which by assumption is smaller than infinity.
  • 2:42 - 2:47
    So what we have verified is that when a sequence is absolutely summable,
  • 2:47 - 2:53
    then its DTFT magnitude is always smaller than infinity.
  • 2:54 - 2:56
    Now that we know
  • 2:56 - 3:00
    that the spectrum X of e to the jω is finite,
  • 3:00 - 3:03
    we can look at the inversion formula, which is given by
  • 3:03 - 3:07
    1 over 2π, and integral of the spectrum over one period,
  • 3:07 - 3:10
    times e to the jωn.
  • 3:10 - 3:14
    We write out the spectrum as the infinite series
  • 3:14 - 3:17
    xk e to the -jωk
  • 3:17 - 3:19
    which is between parenthesis here
  • 3:19 - 3:23
    then we reorder summation and integral.
  • 3:23 - 3:26
    The integral is over one period -π to π
  • 3:26 - 3:29
    of e to the jω (n-k).
  • 3:29 - 3:34
    This integral is equal to 1 when n is equal to k
  • 3:34 - 3:38
    so when the exponent is 0 and it is 0 elsewhere
  • 3:38 - 3:45
    and therefore we have indeed that the inversion is equal to x[n].
  • 3:47 - 3:49
    When x[n] is absolutely summable
  • 3:49 - 3:55
    we can periodize without any risk xn into x tilde of N.
  • 3:55 - 3:57
    So that's a periodization.
  • 3:57 - 4:01
    We take the sum of xn and shifted versions by N.
  • 4:01 - 4:03
    Actually an infinite number of these guys (?),
  • 4:03 - 4:06
    and this will be well-defined.
  • 4:07 - 4:09
    Let us do this graphically here.
  • 4:09 - 4:14
    So we have a first signal -- so that's x[n].
  • 4:14 - 4:18
    It's a Gaussian and we repeat a second one,
  • 4:18 - 4:22
    third one, fourth one etc.
  • 4:22 - 4:24
    And then we take the sum.
  • 4:24 - 4:28
    And the sum of this is a periodic sequence, obviously.
  • 4:28 - 4:30
    And it's the blue line here,
  • 4:30 - 4:34
    which represents a sum of all these periodic extensions
  • 4:34 - 4:37
    of the base signal x[n].
  • 4:37 - 4:39
    We periodize with a capital N.
  • 4:39 - 4:42
    What happens if N grows larger and larger?
  • 4:42 - 4:46
    So first we show N = 10.
  • 4:46 - 4:48
    N = 15,
  • 4:48 - 4:57
    N = 20 -- 40 -- 80 -- and, of course,
  • 4:57 - 5:02
    what happens is that x tilde essentially converges to x[n]
  • 5:02 - 5:06
    because the periodized versions go away to infinity.
  • 5:06 - 5:09
    And we are back to our initial x[n],
  • 5:09 - 5:13
    the initial sequence that we started with for the periodization.
  • 5:15 - 5:20
    Now this periodized signal x tilde Capital N of small n
  • 5:20 - 5:23
    has a natural representation that we have seen before,
  • 5:23 - 5:25
    it's a Discrete Fourier Series, okay?
  • 5:25 - 5:30
    So we write a Discrete Fourier Series of one period,
  • 5:30 - 5:32
    call it capital X tilde.
  • 5:32 - 5:36
    Then, we can write the expression for x tilde of n
  • 5:36 - 5:41
    which is simply the summation of x [n + mN].
  • 5:41 - 5:45
    And then we add the same expression to the exponent.
  • 5:45 - 5:48
    Because adding a multiple of capital N
  • 5:48 - 5:50
    to the exponent of the complex exponential
  • 5:50 - 5:51
    doesn't change anything.
  • 5:51 - 5:55
    So we end up with this double sum at the end,
  • 5:55 - 5:57
    n going from minus infinity to plus infinity,
  • 5:57 - 6:01
    small n going from 0 to N-1,
  • 6:01 - 6:07
    the signal x[n] and its periodized versions, and an exponent
  • 6:07 - 6:10
    which has the same expression n + mN.
  • 6:12 - 6:15
    We use a trick that comes often,
  • 6:15 - 6:19
    and this is to say that an infinite sum, for example f(i),
  • 6:19 - 6:22
    from i going from minus infinity to plus infinity,
  • 6:22 - 6:27
    can be split into pieces of length N,
  • 6:27 - 6:30
    okay, so we can write this as a summation
  • 6:30 - 6:34
    over one of these pieces of length N
  • 6:34 - 6:38
    and then, simply sum over all these pieces.
  • 6:38 - 6:39
    So we get the double sum
  • 6:39 - 6:41
    with m going from minus infinity to plus infinity
  • 6:41 - 6:44
    and n going from 0 to N-1.
  • 6:44 - 6:46
    This formula looks a little bit forbidding
  • 6:46 - 6:49
    so let's explore it for a simple case:
  • 6:49 - 6:54
    let's pick N = 3 and let's make a table here
  • 6:54 - 6:56
    of what we are going to sum.
  • 6:56 - 7:01
    And the table is going to have n as vertical entry,
  • 7:01 - 7:07
    m as a horizontal entry, now n goes from 0 to 2.
  • 7:07 - 7:09
    Okay, so we need two lines here
  • 7:09 - 7:12
    and n goes from minus infinity to plus infinity:
  • 7:12 - 7:14
    we're just going to go from 0 to plus infinity
  • 7:14 - 7:17
    because otherwise --
  • 7:17 - 7:20
    And then we get there and so this is a table
  • 7:20 - 7:24
    and I list here's the indices of f's
  • 7:24 - 7:26
    that are going to be appearing in this table.
  • 7:26 - 7:29
    So the index here will be zero.
  • 7:29 - 7:36
    For n is equal to 1 is 1. 2, then it is 3, 4, 5, 6, 7, 8, 9, 10, etcetera.
  • 7:39 - 7:39
    Okay?
  • 7:39 - 7:42
    And when we do the double sum,
  • 7:42 - 7:43
    we simply sum all these terms,
  • 7:43 - 7:46
    which, of course, if we follow exactly this order here,
  • 7:46 - 7:49
    is equal to the sum on the right side.
  • 7:51 - 7:54
    OK: so now we are ready to use this trick.
  • 7:54 - 7:57
    So we had an expression for x tilde of k,
  • 7:57 - 8:00
    this double sum over m and small n.
  • 8:00 - 8:02
    And, of course,
  • 8:02 - 8:07
    we can now merge this double sum into a single sum.
  • 8:07 - 8:10
    So we sum over i for minus to infinity of
  • 8:10 - 8:15
    x[i] e to the -j, 2π over N, k i.
  • 8:15 - 8:17
    And there we recognize of course
  • 8:17 - 8:20
    the expression for the Discrete Time Fourier Transform
  • 8:20 - 8:26
    evaluated at the frequency 2π over N times k.
  • 8:26 - 8:31
    Okay so our Discrete Fourier Series x tilde of k
  • 8:31 - 8:35
    is simply the Discrete Time Fourier Transform
  • 8:35 - 8:39
    at equally spaced frequencies ω,
  • 8:39 - 8:41
    namely the spacing of 2π over N.
  • 8:44 - 8:47
    We are now ready to develop the intuition.
  • 8:47 - 8:50
    Take a x[n] that is absolutely summable.
  • 8:50 - 8:54
    Then we know that X (e to the jω) exists and is finite.
  • 8:54 - 8:57
    And we can a put meaning to it.
  • 8:57 - 9:00
    If we periodize xn into x tilde of n,
  • 9:00 - 9:05
    its Discrete Fourier Series is x of e to the jω
  • 9:05 - 9:09
    evaluated at 2π over N times k.
  • 9:09 - 9:14
    Since we know that DFS represents actually a change of basis,
  • 9:14 - 9:17
    has a energy conservation etc.,
  • 9:17 - 9:21
    we have all the right intuition for what's going to happen with the DTFT.
  • 9:21 - 9:24
    The only thing that is left is, as N grows,
  • 9:24 - 9:27
    x tilde of N goes towards x[n]
  • 9:27 - 9:31
    -- we have seen this, because x[n] is absolutely summable --
  • 9:31 - 9:35
    and the spectral representation essentially becomes
  • 9:35 - 9:38
    what we have seen as the DTFT,
  • 9:38 - 9:42
    because the spacing 2π over N becomes finer and finer
  • 9:42 - 9:45
    and ends up being the continuum of ω,
  • 9:45 - 9:51
    the frequencies of the DTFT between -π and π.
  • 9:53 - 9:57
    Let's develop this intuition a bit more graphically now.
  • 9:57 - 10:02
    So we start on the left with a vector in C N.
  • 10:02 - 10:05
    We go to the transform domains, the DFT domain,
  • 10:05 - 10:09
    by taking inner products of the vector small x[n]
  • 10:09 - 10:12
    with e to the j 2π/N nk,
  • 10:12 - 10:13
    which are the basis vectors:
  • 10:13 - 10:18
    that gives us the transform values, X[k].
  • 10:18 - 10:21
    And we can come back with the inversion formula we had seen before,
  • 10:21 - 10:24
    simply using 1/N
  • 10:24 - 10:27
    and taking the exponent with a positive sign.
  • 10:27 - 10:30
    So we have a orthogonal basis for the space CN,
  • 10:30 - 10:33
    as we had shown and proven before.
  • 10:35 - 10:39
    The very same thing happens with the Discrete Fourier Series.
  • 10:39 - 10:44
    So we've now C tilde of N, which is a periodized version
  • 10:44 - 10:46
    of 1 period of length N,
  • 10:46 - 10:47
    we take inner products,
  • 10:47 - 10:51
    we go to the transform domain which is X tilde.
  • 10:51 - 10:54
    We can come back with the same normalization 1/N
  • 10:54 - 10:58
    and again we have a basis for this finite dimensional space.
  • 11:01 - 11:04
    What about Discrete Time Fourier Transform, then?
  • 11:04 - 11:07
    Formally, the DTFT is an inner product
  • 11:07 - 11:11
    so the formal summation over infinite sequences
  • 11:11 - 11:13
    with e to the -jωn
  • 11:13 - 11:17
    is simply the inner product between e to the jωn and the sequence.
  • 11:17 - 11:20
    The basis now is infinite,
  • 11:20 - 11:23
    So it is not a basis, it's uncountable:
  • 11:23 - 11:28
    the ω in the exponent is a real number, therefore uncountable
  • 11:28 - 11:31
    So something breaks down because we start with sequences
  • 11:31 - 11:36
    but we go to a transform, which is a function of ω.
  • 11:36 - 11:38
    One more point:
  • 11:38 - 11:41
    we showed this for absolutely summable sequences.
  • 11:41 - 11:46
    It turns out that DTFT is well defined for square-summable sequences
  • 11:46 - 11:50
    that are our old friends from l2 of z.
  • 11:50 - 11:54
    The proof of this is technical and we will not go into it.
  • 11:56 - 12:00
    Again, a graphical display of these relationships:
  • 12:00 - 12:05
    so we have elements from l2 of Z, square-summable sequences.
  • 12:05 - 12:08
    We go into a transform domain using an inner product
  • 12:08 - 12:11
    to get X of e to the jω;
  • 12:11 - 12:18
    The "basis" is an uncountable set since the index ω is a real number,
  • 12:18 - 12:23
    and we can come back by an integral transform
  • 12:23 - 12:26
    over one period normalized by 1/2π
  • 12:26 - 12:31
    and we get back x[n], as we have proven before.
  • 12:31 - 12:38
    So we go from l2 of Z to the space L2 of -π to π,
  • 12:38 - 12:40
    using the Discrete Time Fourier Transform,
  • 12:40 - 12:44
    and we come back, using the inverse DTFT.
  • 12:46 - 12:48
    The advantage of the intuition we have just developed
  • 12:48 - 12:52
    is that if we look at the DTFT as a formal change of basis,
  • 12:52 - 12:56
    the following properties will be fairly obvious.
  • 12:56 - 12:58
    The first one is linearity.
  • 12:58 - 12:59
    That is very clear.
  • 12:59 - 13:00
    It's a linear transform.
  • 13:00 - 13:01
    It's an inner product actually,
  • 13:01 - 13:04
    so it has to be a linear transform.
  • 13:04 - 13:08
    The time shift follows from what we have seen for the DFT,
  • 13:08 - 13:11
    so if x is shifted by M,
  • 13:11 - 13:16
    it will be -- its DTFT is multiplied by e to the minus jωM,
  • 13:16 - 13:19
    and the dual of this relationship is called modulation,
  • 13:19 - 13:25
    so you multiply sequence by e to the jω0n,
  • 13:25 - 13:30
    and its spectrum X will be shifted by ω naught.
  • 13:32 - 13:36
    Time reversal is similar to what we would see in the DFT
  • 13:36 - 13:41
    so x of minus n is simply capital X of e to the -jω.
  • 13:41 - 13:45
    That's the formal replacement in the DTFT formula.
  • 13:45 - 13:47
    Conjugation, same story, easy to verify
  • 13:47 - 13:53
    that the conjugate of the sequence, leads to a conjugation of the DTFT,
  • 13:53 - 13:57
    which includes a change of sign in the exponent.
  • 13:59 - 14:02
    There are some particular cases of the DTFT
  • 14:02 - 14:05
    that are useful to know about.
  • 14:05 - 14:08
    So when x[n], the sequence, is symmetric,
  • 14:08 - 14:11
    so x[n] = x[-n]
  • 14:11 - 14:13
    Then its spectrum has a symmetry,
  • 14:13 - 14:17
    namely x of e to the jω is equal to,
  • 14:17 - 14:20
    is the same at -jω.
  • 14:20 - 14:23
    If x[n] is real, the Discrete Time Fourier Transform
  • 14:23 - 14:26
    is going to be hermitian-symmetric:
  • 14:26 - 14:33
    as we see here, X of e to the jω, will be equal to x star of e to the -jω.
  • 14:33 - 14:36
    So when x[n] is real,
  • 14:36 - 14:39
    the magnitude of DTFT is necessarily symmetric,
  • 14:39 - 14:40
    as you can see
  • 14:40 - 14:44
    by simply using the magnitude in the above equation.
  • 14:44 - 14:47
    Finally, if x[n] is real and symmetric,
  • 14:47 - 14:51
    the DTFT will automatically be real and symmetric.
  • 14:51 - 14:54
    All these relationships are fairly straightforward to prove.
  • 14:54 - 14:57
    And we don't go into the details at this point here.
  • 14:59 - 15:02
    We have now looked at the DTFT
  • 15:02 - 15:05
    in terms of a basis expansion.
  • 15:05 - 15:06
    It's not formally a basis expansion,
  • 15:06 - 15:08
    as we have emphasized,
  • 15:08 - 15:10
    but it can be seen as such.
  • 15:10 - 15:12
    And so we have to be a little bit careful,
  • 15:12 - 15:15
    because certain things will work, and some others will not.
  • 15:15 - 15:17
    So, for example, it's easy to see
  • 15:17 - 15:21
    that the DTFT of the δ sequence
  • 15:21 - 15:25
    -- so that's the sequence I equal to 1 at n is equal to 0 and is 0 everywhere else --
  • 15:25 - 15:28
    it's the inner product between the complex exponential
  • 15:28 - 15:33
    and δ = 1, just like what we know from the DFT.
  • 15:35 - 15:37
    Some other things don't work.
  • 15:37 - 15:41
    So the DFT of the constant as we have seen is equal to 1,
  • 15:41 - 15:48
    But the DTFT of the constant would be the infinite sum of e to the -jωn
  • 15:48 - 15:49
    and this we have no answer to.
  • 15:51 - 15:52
    So this is a bit annoying
  • 15:52 - 15:56
    because there are lots of sequences that we like, that we use,
  • 15:56 - 15:59
    that are natural, but that are not square-summable
  • 15:59 - 16:01
    or not absolutely summable,
  • 16:01 - 16:05
    which are the 2 cases where we know of the existence of the DTFT (?).
  • 16:05 - 16:08
    This will lead us to propose some extension
  • 16:08 - 16:11
    to the function classes we can work with.
  • 16:11 - 16:14
    In particular, we are going to use the δ function,
  • 16:14 - 16:16
    and this will allow us to take DTFT's, for example
  • 16:16 - 16:19
    of, sine waves and cosine waves
  • 16:19 - 16:22
    which are definitely not square-summable
  • 16:22 - 16:23
    or absolutely summable.
  • 16:23 - 16:25
    But this will come later.
Title:
4.5 - DTFT: intuition and properties
Description:

See "Chapter 4 Fourier Analysis" in "Signal Processing for Communications" by Paolo Prandoni and Martin Vetterli, available from http://www.sp4comm.org/ , and the slides for the entire module 4 of the Digital Signal Processing Coursera course, in https://spark-public.s3.amazonaws.com/dsp/slides/module4-0.pdf .

And if you are registered for this Coursera course, see https://class.coursera.org/dsp-001/wiki/view?page=week3

more » « less
Video Language:
English
Claude Almansi edited English subtitles for 4.5 - DTFT: intuition and properties
Claude Almansi added a translation

English subtitles

Incomplete

Revisions