What exactly is the "n-point DFT" that fft() computes?
Show older comments
I am trying to understand exactly how matlab is computing the fft when you call fft(myData, N), where N < length(myData).
In other words, it is computing the "first K outputs of an N point FFT" as detailed in the above link from fftw.org?
Thanks
Accepted Answer
More Answers (1)
Youssef Khmou
on 23 Sep 2014
0 votes
N is the number of points used to calculate the fft, it does not increase physical resolution but adds more point to the spectrum for more visual resolution, N is arbitrary.
2 Comments
Youssef Khmou
on 23 Sep 2014
Edited: Youssef Khmou
on 23 Sep 2014
for every element of the frequency vector X(f), it is a sum of X(t)*exp(-2*pi*j*t*f) where t lies in [1 M], M is the length of the signal, and f lies in [1 N], and N is the value chosen whether N > M or N< M.
Categories
Find more on Fourier Analysis and Filtering in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!