Zero padding or not?

3 vues (au cours des 30 derniers jours)
Negar
Negar le 25 Sep 2013
Hello all,
I want to estimate the spectrum of a part of a signal by using an 1024 point FFT. The length of the excerpt is 640 samples. Should I zero pad the signal to make its length equal to 1024? Or is it automatically done by Matlab?

Réponse acceptée

Honglei Chen
Honglei Chen le 25 Sep 2013
fft(x,1024)
Will automatically zero pad your signal to 1024 points and perform FFT

Plus de réponses (0)

Catégories

En savoir plus sur Fourier Analysis and Filtering dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by