# Questions tagged [zero-padding]

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

73 questions
Filter by
Sorted by
Tagged with
1answer
275 views

### Frequency Domain Interpolation: Convolution with Sinc Function

I am reading a paper, and I came across the following definition of sinc interpolation. Warning. I don't have a strong background in signal processing. Also, I have no clue what that bar on $\bar{F}$ ...
1answer
145 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 ...
1answer
460 views

### Frequency response and impulse response of black box

I am trying to find out the transfer function of a real life continuous-time black box. First thought is of course to input a delta and get the impulse response as the books have taught us but I ...
1answer
124 views

### Use Zero Padding to find hidden peaks

I know adding zeros will not increase the frequency resolution. I have couple of waveforms in time domain measured over months. I take the fft of the waveforms to find frequency components. The ...
2answers
3k views

### Merits of “Zero-Phase” Zero Padding

I understand the reasons for zero-padding a finite signal before FFT. However, I was reading this book (http://www.dsprelated.com/dspbooks/sasp/Zero_Phase_Zero_Padding.html) where the topic is Zero ...
1answer
1k views

### Implementing digital filter by padding with zeros

I am making a 9th order digital bandpass filter with lower and upper corners of 200 kHz and 40 MHz respectively. I am using this filter to filter a 1D time domain signal which is 64k samples long ...
2answers
126 views

### Signal Resolution

I have a question. Suppose we have a signal $x(n)$, length (samples) $N=400$ which have been sampled with $f_s=8000 \mathtt{Hz}$. Also suppose $X(k)$ - the DFT transform of this signal. How many ...
4answers
1k views

### FFT - Effects of Windowing,Improvisation approaches on RealTime FFT Hardware

Fore-word :Kindly Observe this question has multiple updates take the latest update as question ! here below is my 256pt FFT on an 2Khz sinusoid signal,on a fixed point DSP tms320c5515 please ignore ...
1answer
60 views

### Computing Hartley transform of zero-padded signal from transform of original signal?

If I have the discrete Hartley transform of a signal of length 2n, how can I use it to efficiently obtain the discrete Hartley transform of the same signal padded to length 2n+m for some m > 0?
1answer
5k views

### Re-implementing the “spectrogram” function from matlab

I am trying to make a spectrogram viewer without using the spectrogram command. For this purpose, I used a sin function. I broke up the input signal into 256 segments, multiplied each segment with the ...
1answer
1k views

### recognizing frames as voiced/unvoiced/silence [duplicate]

i have to implement a function in matlab,for labeling silenced,voiced and unvoiced frames in signal. I mean i want to specify each frame as a voiced or unvoiced or silenced frame by using pitch ...
1answer
63 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 ...
0answers
28 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: ...
0answers
39 views

### Where to apply zero-padding for convolution dealiasing and appropriate scale

After hours of browsing the DSP posts and resources online, I still struggle to understand why my code diverges when I activate zero-padding dealiasing. When I deactivate it, everything 'works well', ...
0answers
47 views

### Zero padding frequency domain data for improving time domain resolution before inverse FFT

I am working in MATLAB with measured data from a VNA. The bandwidth is 1 GHz from 5-6 GHz with 801 samples in the frequency domain. Everywhere I have read that I need to split the data into 2 parts at ...
1answer
106 views

### Zero padding issue - cut the buffer

I have some issue with zero padding. It's probably because I don't understand it enough. I have buffer size set to 400. And I use radix-2 fft. So I take the input signal 400 samples, and add to them ...
2answers
702 views

### How to perform zero-padding to 3 dimensional array

Consider an array with $t=10000$ rows, $i=2$ columns and $n=41$ as a 3rd dimension. Now I add the columns of this array to yield a matrix with $t$ rows and $n$ columns. However in MATLAB the size of ...
1answer
696 views

### Filter and crop an image

I am a big fan of fft convolution. So, I mostly try to avoid non-fft convolution. Suppose, I am trying to convolute an image with another image. Suppose the first image is $512\times 512$, and, the ...
1answer
592 views

### FFT of signal with starting value zeros

I have a signal, ...
0answers
1k views

### Autocorrelation and FFT : avoid zero-padding

Some posts evocate the computation of convolution or cross-correlation using FFT and zero-padding the temporal signal. I want to compute the autocorrelation of a 3D array using FFTW (2 dimensions are ...
1answer
1k views

### Why is there a difference between MATLAB's FFT of a zero-padded signal compared to the non-padded case

I created a data signal and calculated the spectrum via the fft-command in MATLAB. The data-signal itself is not periodic but it is created in a way that it can be treated as one period of a periodic ...
0answers
382 views

### FFT frequency domain averaging and zero padding

I'm trying to get the average frequency response of an entire piece of audio by splitting it into segments, doing an FFT on each one, and averaging the magnitudes together. Its working great until I ...
1answer
41 views

### Is it possible to zero-pad series when using MSCOHERE in matlab?

The function fft allows one to zero-pad, and mscohere, after all works with auto and cross spectra, which, presumably, have all been calculated with fft. I haven't found any mention on zero-padding in ...