Zero padding or not?

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일

1 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

질문:

2013년 9월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by