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?

 Akzeptierte Antwort

Honglei Chen
Honglei Chen am 25 Sep. 2013

1 Stimme

fft(x,1024)
Will automatically zero pad your signal to 1024 points and perform FFT

Weitere Antworten (0)

Kategorien

Mehr zu Fourier Analysis and Filtering finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by