Zero padding in frequency domain causes noise in time domain
Show older comments
Hello everybody,
I have a problem by zeropadding a signal in frequency domain to get a higher sampling rate in the time domain. The oversampled result in time domain gets additional noise (see figure).

Is there a way to oversample "my" signal without this additional noise?
Here is my code:
% B1: input signal with 128 samples
z = fft(B1);
% pad high frequency
zp = fftshift(z);
zp(1) = zp(1)/2;
zp(end+1) = zp(1);
zp = ifftshift([zeros(1,64),zp,zeros(1,63)]);
% resampling and renormalization
B2 = ifft(zp)*2;
Many thanks Chris
Accepted Answer
More Answers (0)
Categories
Find more on Signal Operations 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!