See the DFT as a function call (similar to
"Demonstrating DFT" above).
Just store this file in your Matlab "work"
directory, then call it with "[X, Xmag, Xphase] = dft(x);"
See how to make figure 5.2, an averaging
operation
See how to make figure 5.11, the averaging
example with the DFT's of results.