Padding FFT causes inconsistent arrays when data transferred back to time domain
Show older comments
Hi,
I have a hopefully simple question. I am working with some instrumentation data (voltages vs. time) in which there are some processing best done in the freq domain. When converting my recorded data to the freq domain, I pad the recorded signal to improve the FFT. To note: raw data is about 2000 points and I pad to about 10xraw data...nearest power of 2. After my processing is completed in the freq domain, I reconvert the freq domain data to the time domain with IFFT and obtain my "modified" data.
My goal is to compare the original, "raw" data with the processed "modified" data, but now I have (2) different arrays of different lengths. Any ideas on how to scale the modified data to obtain an array of the same length as my raw data?
Can I simply perform use the command ifft(FREQDATA, length(raw))? I feel that performing the ifft with 1/10 of the data points as the FFT might significantly affect the results...
Any help or insight is much appreciated. Nick
Accepted Answer
More Answers (0)
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!