MatLab and DFT and DTFT

  1. I'm considering the 12 –point sequence x[n] which is defined as x[n] = {1, 2, 3, 4, 5, 6, 6, 5, 4, 3, 2, 1}.

    I'd like to use Matlab to find the DFT (X[k] of x[n]) and DTFT (X(e^jw) of x[n]).

    I realize that the DFT is sampled version of DTFT, and I want to show this graphically using Matlab, but I'm not too familar with Matlab's syntax.

    Thanks in advance,

  2. jcsd
  3. I need help on the exact same question as well. Can any1 help?
  4. hi. i got the same problem. i don't know why your question has become my assignment question and how my prof came across it.
Know someone interested in this topic? Share this thead via email, Google+, Twitter, or Facebook

Have something to add?