Zero padding or not?

3 次查看(过去 30 天)
Negar
Negar 2013-9-25
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?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by