Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

MatLab and DFT and DTFT

  1. Apr 7, 2005 #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. Aug 26, 2009 #2
    I need help on the exact same question as well. Can any1 help?
  4. Sep 19, 2009 #3
    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.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook