Question: Discrete Fourier Transform

Hi,

So I need an example of how the discrete fourier transform works, and I would like to do this using Maple but I can't figure out how to plot a discrete function. I have attached an example from wikipedia which is what I would like. It is the function on the right of the image. I have tried plotting a vector but then I can't seem to plot this. Let me know if the question isn't quite clear.

Thanks

 

Please Wait...