FFT, padding, IFFT and plot in time domain

2 views (last 30 days)
Butterflyfish
Butterflyfish on 31 Dec 2015
Hi, I performed an FFT with some zero padding and would like to transform it back to time domain. When I plot the signal it looks wrong. Is it because of the padding used in the FFT? How can I make it right? here is my code for doing the IFFT:
NFFT=4301;
AvIFFT = ifft(FFTavg.dat,NFFT);
plot(real(AvIFFT))
And I get this plot:
Any help would be greatly appreciated! Thank you!

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!