Discrete Fourier Transform
There are actually two types of discrete time fourier transform, discrete fourier transform (DFT) and discrete time fourier transform (DTFT).
The former is in fact the fourier series for a discrete signal. The latter is the fourier transform on a discrete signal. We introduce DFT first.
DFT
Again, DFT is a fourier series, just called discrete fourier transform.
For continuous, periodic signal, we had,
x(t)=k=−∞∑+∞akejkωt
ak=T1∫0Tx(t)e−jkωtdt
The discrete signal is equal to,
xs(t)=k=0∑N−1x[k]δ(t−k)
So,
ak=T1∫0Txs(t)e−jkωtdt=T1k=0∑N−1x[k]e−jkωt
Sometimes, we may process signals with a given range (image, for example). Assume it has a rang from 0 to N, we can treat it as a signal with a period of N as well.
We note,
X[k]=N1k=0∑N−1x[k]e−jkωt
As the discrete fourier transform.
However we are not done yet, consider,
x[t]=k=−∞∑+∞akejkωt
We would notice that,
X[k+N]=k=0∑Nx[k]e−jω(k+N)t=e−jωNtk=−∞∑+∞akejkωt
So X[k] is periodic as well, thus, x[t] after the inverse transform is like not to converge.
The reason is that, consider the discrete complex exponential, we want the period of N and so,
ejωN=1
There exists N if and only if ω=2πqp, suppose p and q have no common divisor, and thus,
N=kminkpq=q
Which is to say that, the period is only related to the denominator. So it's obvious that, for,
x[t]=k=−∞∑+∞akejkN2πt
If we sum over −∞ to +∞, we are repeating the same base signal over and over again.
We only need to sum each signal once, and so,
x[t]=k=0∑N−1akejkN2πt
Is the legit result.
In conclusion, we had,
x[t]=k=0∑N−1X[k]ejkN2πtX[k]=N1k=0∑N−1x[k]e−jkωt
However, for correspondence, because we had 2π1 for the fourier inverse transform, and thus, we usually use the following form of DFT,
x[t]=N1k=0∑N−1X[k]ejkN2πtX[k]=t=0∑N−1x[t]e−jkN2πt
The two are identical.
This will also come in handy in the next chapter where we need to push X[k] to a continuous limit, and thus, we need a density divider for x[t].