Zero padding consists of extending a signal (or spectrum) with zeros to extend its time (or frequency band) limits.

84 questions
Filter by
Sorted by
Tagged with
43 views

### Does zero-padding distort the spectrum?

It's said to "sample the DTFT", revealing what "DFT fails to see". And I fail to see how this sampling isn't distortion. The "spectrum" aims to provide the sinusoidal ...
22 views

### Zero Padding in image reconstruction

I need to zero-pad the image for a better reconstruction but according to my project details, I will be given a Fourier-transformed image so can someone tell me how to pad the image in such a ...
35 views

### Meaningfulness of Frequency Spectrum for Classification

I just started to dive into signal processing due to a free-time project. Therefore, this is my first question here, for which I searched many previous threads, but couldn't find what I was looking ...
36 views

### How much zero padding I should do to an audio signal before fft?

I was working on project and I need to do fft to my audio signal. I was going through a code and found following line. Can anyone explain me the line of code. ...
39 views

### The impact on the frequency of adding zero samples and non zero samples

Can someone give me a brief explanation of what is going on in here? I struggle to understand the full differences between the impact on the frequency of added zero samples and adding samples which ...
23 views

### Adding zeroes in between the samples of a discrete frequency domain leads to both zero padding and scaling

I won’t show ALL the calculations, but I’ll describe the problem fairly enough to understand. We’ve been taught that upsampling on one domain leads to padding zeroes or added time period which is zero ...
106 views

### Why is my time domain interpolation via zero-padding in frequency domain wrong?

Since the process can be applied in either domain to increase the sampling rate in the other domain, I am trying to apply zero-padding in frequency space to recover a 'cleaner' interpolated signal in ...
21 views

### Different type of padding in image?

I want to implement a gradient operator on an image in Matlab. Should I have to pad the image before its implementation? How do I decide which padding to use e.g. whether to use zero-padding or ...
63 views

### Alternative Methods to Zero Padding

When using a sequential neural network to classify signals with their frequency spectrum, we would need to normalize the length of the signals to perform vectorization. The only method I'm aware at ...
40 views

### Zero-padding or Interpolation in 3D FFT

I'm trying to perform a FFT of a 3D regular grid and then compute the bin average (in spherical shell bins) of the Fourier transformed grid. The problem is that the resulted vector is very noisy as I'...
18 views

### How to optimize padding and truncating of signal

I 6000 signals that vary between 3000 and 30000 in length In the figure under you can see that most of the signals are of length 5000. So I decided to pad and truncate all signals to 10000 and feed ...
43 views

88 views

### Zero padding in frequency domain, any tricks to speedup?

there are many situations when one has to carry some operations on spectra, like splitting a spectrum Z wide in two Z/2 spectra, or vice versa merging two Z sized spectra in a 2Z sized one. The only ...
107 views

### Why padding zeros in the middle of a DFT spectrum improves original signal reconstruction?

I'm experimenting with the Inverse Discrete Fourier Transform. Starting from the two-cycles continuous $x(t)$ signal below: I have the discrete signal $x(n) = \{ 1, 0, -1, 0, 1, 0, -1, 0 \}$ leading ...
55 views

### Cepstrum calculation with 5-smoothing zero padding

I am trying to compute cepstrum of a signal x An implementation of this in python is: ...
75 views

134 views

### When Is a Power of 2 FFT Slower than Smaller Sized Non Power of 2 FFT in MATLAB

Knowing that computing an FFT is faster if the amount of samples is a power of 2 I have always tried to pad the inputs to Matlab's FFT with zeros until the next power of 2 is achieved. Matlab's ...
606 views

### What does it mean when you zero pad data and why does one do it? [duplicate]

I am struggling to understand what effect zero padding data would have on EMG data. How does it improve the signals? Any help in simple terms that's not too mathematical would be greatly appreciated!
183 views

### Zero padding - High amplitude

I have a set of 512 samples that I have collected with a sensor. I'd like to apply zero padding to it, for better frequency bin resolution. However, all the tutorials I see to make this occur center ...
224 views

### Is image padding really necessary while using a filter?

I do know that we must pad an image while using a filter. But what I am suggesting is that is it really necessary? Can't we just calculate at run time if the current cell/pixel is an edge cell/pixel ...
435 views

2k views

### Difference Between fft(signal, nfft) and fft(signal)

I want to know the difference between these following commands (matlab) and why I get two different outputs? fft(signal); fft(signal, nfft); I found that ...
I'm studying for a Signals Processing exam and came across an exercise that I'm finding pretty difficult to solve. It says: Asume there is a signal $x[n]$ of length $N$. Its $\mathcal{Z}$-Transform ...