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