0

This wiki page about the DTFT says that the DFT can be obtained from the DTFT by sampling the latter in one cycle at $N$ points:

When the DTFT is continuous, a common practice is to compute an arbitrary number of samples (${{N}}$) of one cycle of the periodic function (${X_{1/T}}$):\begin{align} \underbrace{X_{1/T}\left(\frac{k}{NT}\right)}_{X_k} &= \sum_{n=-\infty}^\infty x[n]\cdot e^{-i 2\pi \frac{kn}{N}} \quad \quad k = 0, \dots, N-1 \\ &= \underbrace{\sum_{N} x_{_N}[n]\cdot e^{-i 2\pi \frac{kn}{N}},}_{DFT}\quad \scriptstyle{\text{(sum over any }n\text{-sequence of length }N)} \end{align} where $x_{_N}$ is a periodic summation: $$x_{_N}[n]\ \triangleq\ \sum_{m=-\infty}^{\infty} x[n-mN]$$

So we essentially have the following equality $$\sum_{n=-\infty}^\infty x[n]\cdot e^{-i 2\pi \frac{kn}{N}}= \sum_{n=0}^{N-1} \sum_{m=-\infty}^{\infty} x[n-mN] e^{-i 2\pi \frac{kn}{N}}. $$

I didn't manage to prove it, is this a known identity?

Hilbert
  • 129
  • 4
  • Be very suspicious of that wiki material. If you go back to the definition of what is a periodic sequence and what is the definition of the DFT, you will realize that is impossible to perform the DFT on a periodic sequence. – Richard Lyons Feb 08 '20 at 11:51
  • I think you're right, the article shouldn't have labeled the quantity over the bracket as a DFT, the DFT is a sum over $x(n)$, not $x_{N}(n)$. – Hilbert Feb 08 '20 at 12:13
  • No, actually the article is correct. It is a DFT because as jomegA showed below, $x(n)$ is exactly $x_{N}(n)$ over ${0,1,..., N-1}$. – Hilbert Feb 08 '20 at 12:19

1 Answers1

1

The right hand side is the periodic repetition of the left, tells the last equation.

Starting from Fourier transform $$X(\omega)=\sum_{n=-\infty}^{\infty}x(n)e^{-j\omega n}$$ and $X(\omega)$ is periodic with period $2\pi$. So only the samples in the fundamental frequency range are sufficient.

Now we take $N$ equi-distance samples in the iterval $0\leq\omega\leq 2\pi$, so the spacing will be $\dfrac{2\pi}{N}$

Let $k$ be the sample index and $k=0,1,\dots,N-1$ and we evaluate $\omega$ at $\left(\dfrac{2\pi k}{N}\right)$

$$X\left(\dfrac{2\pi}{N}k\right)=\sum_{n=-\infty}^{\infty}x(n)e^{-j2\pi kn/N}$$

which can be written as

$$X\left(\dfrac{2\pi}{N}k\right)=\sum_{l=-\infty}^{\infty}\sum_{n=lN}^{lN+N-1}x(n)e^{-j2\pi kn/N}$$

Now change the index $n$ to $n-lN$ which results in

$$X\left(\dfrac{2\pi}{N}k\right)=\sum_{n=0}^{N-1}\left[\sum_{l=-\infty}^{\infty}x(n-lN)\right]e^{-j2\pi kn/N}$$

The sequence inside the square brackets is the periodic repetition of $x(n)$ of period $N$

$$x_p(n)=\sum_{l=-\infty}^{\infty}x(n-Nl)$$

Thus $$x_p(n)=\begin{cases} x(n),\;\;\;\;0\leq n \leq N-1\\ \\ 0,\;\;\;\;\;\;\;\;\;\;\; \mathrm{elsewhere}\\ \end{cases}$$

jomegaA
  • 659
  • 3
  • 16
  • Sorry but the question wasn't about the periodization equation, rather about why this equation is true:$$\sum_{n=-\infty}^\infty x[n]\cdot e^{-i 2\pi \frac{kn}{N}}= \sum_{n=0}^{N-1} \sum_{m=-\infty}^{\infty} x[n-mN] e^{-i 2\pi \frac{kn}{N}}. $$ – Hilbert Feb 08 '20 at 10:13
  • 1
    The equations on the left and right are the same, one is periodic extension of the other. – jomegaA Feb 08 '20 at 11:48
  • @jomegaA. Is the "sequence inside the brackets" an infinite-length sequence? – Richard Lyons Feb 09 '20 at 16:31
  • @RichardLyons The sequence $x(n)$ is finite and $x_p(n)$ is periodic extension of it. The index $0\leq n \leq N-1$ is definitely finite. – jomegaA Feb 09 '20 at 19:17
  • @jomegaA. Hi. I wasn't asking about $x(n)$ or $x_p(n)$. I asked if the "sequence inside the brackets", the summation of $x(n-lN)$, was an infinite-length sequence? Thanks. – Richard Lyons Feb 10 '20 at 14:13
  • @RichardLyons I think this context will help to understand the problem in another way.

    https://dsp.stackexchange.com/questions/26940/does-sampling-in-the-frequency-domain-cause-time-domain-aliasing/26950#26950

    – jomegaA Feb 10 '20 at 14:38
  • @RichardLyons Since it is periodic with period $N$, substituting $l=0$ to the inner summation leads to $\sum_{n=0}^{N-1}x(n)$ multiplied with exponential only. There is no new information for $l=-1$ or $l=1$ or for any $l$. This is an advantage that Fourier series can be used to get the inverse formula or IDFT. – jomegaA Feb 10 '20 at 20:46
  • @RichardLyons Sir, I did not realize who was asking the question and very recently I got a copy of your book. Regards. – jomegaA Feb 11 '20 at 19:08
  • @jomegaA. Hi. If you have a copy of my "Understanding DSP" textbook then you should have a look at the material at the following web site: https://www.dsprelated.com/showarticle/1094.php – Richard Lyons Feb 11 '20 at 21:51