title: unit of fft(DFT) x axis
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4364823/how-to-get-frequency-from-fft-result">How to get Frequency from FFT result</a>  </p>
  </blockquote>
  
  
  
  <p>I am somehow confused with the x axis of fft(DFT) command in Matlab. When we do a fft command for a signal which has sampled in n point, we get a plot in which the x axis is 0 to n-1. Does it mean frequency in Hz? For example when I have a spike on n=2 is it mean that the signal frequency is 2Hz?</p>