reshaping data using fft and iff
2 views (last 30 days)
Show older comments
I am carrying out fft on data sample as shown below and padding with zeros, and plot my frequency spectrum which is fine.
y=fft(x,NFFT)/L
when I carry out the inverse as shown below the reconstructed signal is fine except for the fact that the new signal length has increased by the number of zeros I have padded by, where the additional signal is a row of zeros added to the signal.
s=L*ifft(y,NFFT)
How would I use the ifft to reconstruct the signal so that there is no additional zeros added to the signal? As I do not want to simply chop the zeros off.
Many Thanks Anthony
7 Comments
Answers (0)
See Also
Categories
Find more on Fourier Analysis and Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!