Correct magnitude spectra of a cosine DFT? I've just started my course on DSP and haven't laid my hands on MATLAB yet. I was wondering if the plot of the magnitude spectra was correct for the below shown $x(n)$:
you're missing the frequency component at $k=N-k_0$.