<< Chapter < Page | Chapter >> Page > |
One should notice that with the finite summation of the DFT, there is no question of convergence or of the ability to interchange the order ofsummation. No “delta functions” are needed and the transform values can be calculated exactly (within the accuracy of the computer orcalculator used) from the signal values with a finite number of arithmetic operations.
There are several advantages to using a matrix formulation of the DFT. This is given by writing [link] or [link] in matrix operator form as
or
The orthogonality of the basis function in [link] shows up in this matrix formulation by the columns of being orthogonal to each other as are the rows. This means that , where is a scalar constant, and, therefore, . This is called a unitary operator.
The definition of the DFT in [link] emphasizes the fact that each of the DFT values are the sum of products. The matrix formulation in [link] has two interpretations. Each -th DFT term is the inner product of two vectors, -th row of and ; or, the DFT vector, is a weighted sum of the columns of with weights being the elements of the signal vector . A third view of the DFT is the operator view which is simply the single matrix equation [link] .
It is instructive at this point to write a computer program to calculate the DFT of a signal. In Matlab [link] , there is a pre-programmed function to calculate the DFT, but that hides the scalar operations. Oneshould program the transform in the scalar interpretive language of Matlab or some other lower level language such as FORTRAN, C, BASIC, Pascal, etc.This will illustrate how many multiplications and additions and trigonometric evaluations are required and how much memory is needed. Donot use a complex data type which also hides arithmetic, but use Euler's relations
to explicitly calculate the real and imaginary part of .
If Matlab is available, first program the DFT using only scalar operations. It will require two nested loops and will run ratherslowly because the execution of loops is interpreted. Next, program it using vector inner products to calculate each which will require only one loop and will run faster. Finally, program itusing a single matrix multiplication requiring no loops and running much faster. Check the memory requirements of the three approaches.
The DFT and IDFT are a completely well-defined, legitimate transform pair with a sound theoretical basis that do not need to be derived from orinterpreted as an approximation to the continuous-time Fourier series or integral. The discrete-time and continuous-time transforms and othertools are related and have parallel properties, but neither depends on the other.
The notation used here is consistent with most of the literature and with the standards given in [link] . The independent index variable of the signal is an integer, but it is usually interpreted as time or, occasionally, as distance. The independent index variable of the DFT is also an integer, but it is generally considered as frequency. The DFT is called the spectrum of the signal and the magnitudeof the complex valued DFT is called the magnitude of that spectrum and the angle or argument is called the phase.
Notification Switch
Would you like to follow the 'Digital signal processing and digital filter design (draft)' conversation and receive update notifications?