Question regarding FFT MATLAB demo
Mostra commenti meno recenti
Hi,
I am computing the frequency response function of 1 input and 1 output data sample. I am using the demo found at http://www.mathworks.se/products/matlab/examples.html?file=/products/demos/shipping/matlab/fftdemo.html to calculate each power spectral density. I have a simple question regarding the demo. In this, they use a data sample of 251 measurements and use the command;
Y = fft(y,251);
This is perhaps a stupid question, but shouldn't the number 251 be replaced by 2^nextpow2(251) = 256?
Hope someone out there can answer me. Thanks in advance.
Kind regards, Martin Ulriksen.
Risposta accettata
Più risposte (1)
Martin
il 24 Ott 2012
0 voti
Categorie
Scopri di più su Fourier Analysis and Filtering in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!