# Questions tagged [downsampling]

In signal processing, downsampling (or "subsampling") is the process of reducing the sampling rate of a signal.

192 questions
Filter by
Sorted by
Tagged with
3k views

### Why would I leave a signal oversampled?

I can't think of a better way for asking this question so I will start with an example. Suppose that I have an input signal with a max frequency of 50Hz (sampled at 100Hz). Now the signals of interest ...
11k views

### How to extract vocal part from stereo audio signal?

I'm now processing MP3 file and encounter this problem. My MP3 is stereo encoded. What I want to do is extract vocal part for further processing(whatever mode of output signals, mono or stereo are ...
5k views

### Z-transform of a downsampler

In this paper or multirate filtering, the author establishes the following mathematical relationship. Let $y_D$ be the output of a downsampler such that $$y_D[n] = x[Mn]$$ where $M$ is the ...
5k views

### Python's $\tt resample$ vs $\tt resample\_poly$ vs $\tt decimate$

I have multiple signals each measured with a sampling rate 300Hz. They are mostly periodic, although there are some parts of some of the signals, that seem to be random and do not follow the rest of ...
5k views

### What is anti-alias pre-filter for preventing aliasing after under-sampling?

We know that the under-sampling results in aliasing and frequencies higher than half of the Nyquist rate is not distinguishable. I've a base band signal that I want to use the higher frequencies which ...
4k views

### Downsampling lowpass filter for audio: FIR or IIR?

I'm working on a real-time audio processing project in which I have to downsample a 44.1 kHz to a yet-to-be-determined lower sampling rate essentially for reducing computational complexity. I'm ...
2k views

### What is the effect of aliasing on the magnitude of the autocorrelation?

I've a question about the effect of aliasing on the magnitude of autocorrelations. From a simulation in MATLAB, I don't see any effect of aliasing or any need to anti-alias filter when I take the ...
258 views

### Is this signal perfect reconstructable?

The question is as follow: Let me do the analysis: The downroad first: \begin{align} X_1(z) &= z^{-1}X(z)\\ X_2(z) &= \frac{1}{2}\left\{X_1\left(z^\frac{1}{2}\right)+X_1\left(-z^\frac{1}{2}\...
2k views

### Scipy resample, “fourier method” explanation

I am seeking explanation of what "Fourier method" is that is described for resampling in documentation of resample() method. I want to downsample an array. I know what decimation is and how it works, ...
3k views

### Random sampling vs uniform sampling

In this paper of Lustig, he speaks about a something which appears unintuitive: sampling at random may exhibit better performance than sampling uniformly. I tried to understand this starting from page ...
3k views

### Which order to perform downsampling and filtering?

I have EEG data recorded with 128Hz sampling rate. As my goal is to reduce the amount of data (and maybe noise), I want to downsample the data to 64Hz (I am only interested in range 0.5 - 30Hz). I ...
4k views

### Why should an image be blurred using a Gaussian Kernel before downsampling?

I recently read that before downsampling an image, it should be blurred using a Gaussian Kernel. This way, the downsampled image is better than just picking a single pixel out of a NxN block or ...
2k views

### Understanding audio downsampling code (JavaScript) and adapting to a different ratio

I inherited responsibility for some audio downsampling code that I don't fully understand: ...
3k views

5k views

### Converting from stereo to mono by averaging

Hi I'm doing a past exam question about converting from stereo to mono. The scenario is below: The first question is: Explain why would this result in a noisy encoding. How is the noise introduced ...
506 views

607 views

### Downsample: resample vs antialias fitlering + decimation

I have a discrete signal sampled @Fs. I need to downsample it to Fs/k. Main reason is to reduce signal bandwidth and speed up computation : I'm only interested in a reduced bandwidth < Fs/2k. Some ...
618 views

### Reference for Supersampling

I want to downsample images to arbitrary sizes using supersampling to avoid aliasing effect. The only two good explanations I found were on Wikipedia and everything2.com, but there are still gaps. ...
2k views

### Difference between Sub Sampling and Down Scaling of Images

I know that there are many ways to upscale (interpolate) an image using bilinear, bicubic, sinc... Somehow, these same algorithms can also be used to downscale an image. But when it comes to ...
8k views

### How Can I Resample a Signal with an Arbitrary Factor (For Example - 128000Hz to 16000.1Hz) in MATLAB?

I need to simulate the sampling of a continuous (fsCtu = 128000Hz), acoustic signal with two microphones that have a slight offset in sampling rate (fsMic1 = 16000, fsMic2 = 16000.1) in Matlab. What ...
416 views

### Downsampling oversampled image (smallest size which retains image 'detail' within acceptable limits)

I have a large collection of oversampled images (family photos of varying 'sharpness' scanned at a uniformly high dpi) and would like to downsample them to optimise storage space whilst retaining ...
1k views

### What is the most precise frequency analysis spectrography algorythm?

Everyone uses Fast Fourier Transform, which is fast at the detriment of precision. The input audio has sample accuracy and the FFT has 1/64 sample accuracy. What algorithms can output high resolution ...
2k views

### Oversampling then filtering and downsampling

Currently I'm working on a project to record ELF (Extremely Low Frequency) signals from a receiver. The highest frequency of interest is about 30 Hz and the system should have a flat frequency ...
628 views

### What is the effect of the natural logarithm in the frequency domain?

I have read that taking the natural logarithm of a signal $x$ in the time domain will introduce a spectral broadening and hence "up-sampling" process before the logarithm is required. I tried to test ...
457 views

### rtlsdr sample rates and nyquist rate

I have a rtlsdr dongle which apparently has a max sample rate of about 2.4 MHz. I'm wondering how it's possible to capture signals at say 900 MHz with this device. Doesn't the sample rate need to be ...
557 views

### Frequency Representation of Downsampled Signal

I'm trying to follow the steps from Oppenheim for the derivation of the frequency representation of a signal which is to be down sampled by a factor of M. It makes sense to me that: But then the ...
682 views

### Decreasing Sample Rate in DFT (FFT) for Audio Analysis

I'm working with audio data analysis through FFT algorithm. My example audio is a sine wave at 440 Hz and 44100 Hz sampling rate. FFT methods in programming, like ...
266 views

I am using an on-chip SAR adc where for some reason I can only get accurate signal reconstruction and filtering when I sample at almost 100 times my desired sampling frequency. Specifically, the ...
1k views

### Down sample incoming stream of data to plot a dynamic graph

I am working on a module where I need to plot ECG streaming data on a graph. This graph has configurable speed i.e. plot 1 heartbeat data sample within say 50mm,25mm, etc. For this, I am required to ...
2k views

### Gaussian Pyramid - How is Subsampling Rate Related to Sigma?

I found a gaussian pyramid implementation in a MOPS paper (feature detection). They use sampling rate $s=2$ and $\sigma=1$ - i.e. to generate a new level of the pyramid, the current level is smoothed ...
513 views

### Triangle-kernel filtering problems at non-integer ratios

I'm trying to implement image downscaling using a triangle filter (it's narrow therefore fast, and goes hand in hand with linear interpolation when upscaling), and the triangle function used for ...
1k views

### Synchronization and downsampling after matched filtering - GNURadio polyphase clock sync

I am trying to model a QPSK transmission. For this, I am using the software GnuRadio and more specifically the block polyphase clock sync. This block performs timing synchronization for PAM signals by ...
8k views

### Downsampling and upsampling of a signal in Python

If I want to downsample a signal in Python, is it better to use method resample from SciPy Signal Processing module or method decimate from the same module? What is the difference between these two ...
805 views

### Synchronizing signals with different sample rates

I am relatively new to signal processing, so I am still missing some basic knowledge, but I am trying to improve as much as I can. I am trying to synchronize two signals with matlab using cross-...
7k views

### Downsampling/Decimation - When is well done?

I am working on decimation of signal, and I want to know which is the best way to understand if the downsampling is well done or not. At the moment I am comparing the FFT of the source signal and the ...
10k views

### Practical Applications of upsampling and downsampling

I'm a complete novice to digital signal processing, and I've started reading a few books on it. In particular, I've run across the concept of upsampling and downsampling. As I understand it, given a ...
3k views

### Downsampling, Filtering and Averaging

I have a signal of bandwidth DC to ,say, 100 Hz. I am interested in the range DC-10 Hz. I oversample by a factor of, say, 30. Thus the sampling rate is 600 samples/sec. Then I bandpass filter and ...
184 views

### Downsampling and low pass filtering in one step?

Image pyramids are created by applying a lowpass filter (Gaussian) and then decimating the image (keeping only every n'th sample). In The Pyramid as a Structure for Efficient Computation the start ...
3k views

### Trying to understand downsampling and then upsampling

I am trying to understand how this works, specifically, what the DTFT of each step looks like in each step of the chain (for understanding). I am not looking for an answer like because the input ...
235 views

### How to Downsample The Chrominance Components

So I am doing an image compression project for college and am trying to create a visual demonstration of how downsampling chrominance components can reduce the amount of digital information while ...
4k views

### The relationship between downsampling and frequency resolution

I am having trouble understanding a concept that I have seen in many published papers. For example, in this paper (http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0082748) they wrote ...
1k views

### Downsampling and Gaussian Filtering in the Context of Scale Space Pyramids

In the context of scale space image pyramids using Gaussian filters I noticed that it's common to downsample the image after blurring with $\sigma = 2*\sigma_{init}$ . My question is: What is the ...
3k views

### Trying to down-sample audio

I am trying to downsample from $44100Hz$ to $8000Hz$, and I am not sure what I am doing wrong here. $44100 / 8000$ is $5.5125$, so I am getting hung up a little on the fractional remainder which is ...
82 views

### Level Correction For Digital Down-Convertion?

I am trying to understand a subtle (sorry if this is obvious) difference in the computed output power after a DDC process. Here is the story: Suppose I generated a 10 MHz signal from a microwave ...
2k views

### Downsampling audio for use in Machine Learning

I'm trying to use the work (Neural Networks) done in this repo: https://github.com/jtkim-kaist/VAD It says this: Note: To apply this toolkit to other speech data, the speech data should be ...
I have a data sequence $G[n]$ that is upsampled at the transmitter of a communication system by a non-integer factor ($1.5$ to be precise). At the receiver, I am supposed to downsample the data and ...