Assignment:
Circularity of the DFT/FFT. Using the same x[n] (shown below):
a) stem(x);
b) Use the shift theorm to plot x delayed by 1, 4, 5, 6, and 8 samples, and plot the result for each. Remember the shift theorem says a delay by t0 seconds is equal to multiplying the spectrum by e-jΩt0. So to do this, do stem(real(ifft( exp(-j*m*t0).*fft(x)))); for the different values of t0. (the real is needed because round-off errors introduce some imaginary values that don't really exist. If you plot the imaginary part you'll see it's ~10-15).