The DFT can be formulated as a complex matrix multiply, as we show in this section. (This section can be omitted without affecting what follows.) For basic definitions regarding matrices, see Appendix H.
Note that the th column of is the th DFT sinusoid, so that the th row of the DFT matrix is the complex-conjugate of the th DFT sinusoid. Therefore, multiplying the DFT matrix times a signal vector produces a column-vector in which the th element is the inner product of the th DFT sinusoid with , or , as expected.
Since the forward DFT is , substituting from Eq.(6.2) into the forward DFT leads quickly to the conclusion that
This equation succinctly states that the columns of are orthogonal, which, of course, we already knew. I.e., for , and :
The normalized DFT matrix is given by
The Length 2 DFT