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

Matlab dft help

  1. Nov 1, 2012 #1
    Hello I am trying to calculate the n-point DFT of a signal using fft where n=512 and plot it in matlab. The signal is a separate file that I have read into matlab. I am able read and plot the first 512 values of the signal but when I try to get the dft of the signal and plot it the outcome does not look correct. How could I go about achieving this?
  2. jcsd
  3. Dec 19, 2012 #2
    I could probably help but your question does not have enough information for me to figure out what the issue is. Is the issue with the FFT or with the plotting? Do you need help creating the frequency vector with which to plot the fft of your signal? What does not look correct?
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - Matlab help Date
Matlab MATLab: Not enough inputs for nlinfit Nov 16, 2017
Matlab Help needed to fix a matlab code Nov 8, 2017
New to Matlab, help with vectors Feb 20, 2016
Need help with integral Dec 23, 2015
Communication between Arduino and Matlab Help Jun 19, 2015