# Questions tagged [downsampling]

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

161 questions
Filter by
Sorted by
Tagged with
34 views

I am trying to find a way to evaluate what would be the minimum sampling rate used in a modulated waveform using matlab / Simulink. The real scenario would be let say a M-PSK waveform of Y bandwidth ...
124 views

### Down sampling an EEG signal

I have a set of 10 minute EEG signals that were sampled at 400 Hz and have 16 channels which corresponds to a 16x240000 matrix. These EEG signals belong to two different classes. I am trying to ...
27 views

### Decimation with IIR filter altering amplitude of signal

I'm downsampling a signal through decimate (scipy implementation), but the result has a different amplitude than the original signal, which if I understood correctly, shouldn't happen. The original ...
1k 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, ...
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 ...
28 views

### Confused about filter's cutoff frequency in rational sampling rate converter

A interpolator which increase sampling rate by L times is followed by an anti-imaging filter, the filter is said to have a cutoff frequency of Fs/2L. Is Fs here is the frequency before or after ...
216 views

### How to determine the original size of the FFT used in unknown OFDM symbol

Given an unknown OFDM symbol consisting of 9144 samples, interested to know the size of the FFT used in the TX/Number of bins. Down-sampling to 512,256,128,64,32 yields the following. Do not see how ...
44 views

### How to sketch this multirate system spectrum?

In the following system: The signal x(n) is upsampled by 2 and then filtered. The signal and the filter have the following spectrum: After upsampling the spectrum of X would look the same except ...
15 views

### How to improve interpolation for chroma upsampling (4:2:0 to 4:4:4)?

I am trying to perform the best possible interpolation in order to perform proper chroma upsampling from 4:2:0 YCbCr to 4:4:4 YCbCr. I have implemented the improved interpolation proposed at this ...
514 views

### Downsampling from 100Hz to 60 Hz

I have two sensors measuring a single time varying signal . The first sensor (reference sensor) is sampling the data at 60 Hz and the second sensor (test sensor) is sampling the data at 60 Hz. I ...
50 views

### What is the right way to downsample using Fourier method?

I want to know what is the right way to downsample a sampled signal using Fourier transform as the implementation in scipy.signal.resample confuses me. Reading ...
220 views

### What is the impulse response used in an interpolation filter when upsampling?

I need to downsample a single period waveform from $M$ samples to $L$ samples. If that matters, in my particular case, $L=M-1$. I read about downsampling and came to the conclusion I need: expand ...
26 views

### Nyquist sampling theorem / Nyquist - Shannon theorem evaluation over M-PSK

I am trying to simulate an M-PSK Tx-Rx System on Simulink and analyse what the effect of sampling rate reduction would have on it. More, particular I am trying to prove what Nyquist sampling theorem ...
52 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 ...
129 views

### downsample signal to a specific number of samples in Python

The Python Scipy library provides several functions to downsample signals, but they all have limitations: The resample function is based on Fourier method, which means it assumes periodic signals. ...
96 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 ...
51 views

### FFT of white noise with different sampling rate

I have a question on how I should interpret the white noise power level (noise floor) obtain from FFT for different hardware sampling rates. I realized if I sample the same noise at different rates (...
54 views

### Improving spectral response with lost downsampled data

I have a project that is resource constrained and must maintain a specific FFT length and small FFT bin width, down at baseband. My sampling rate is very high and needs to be downsampled to anywhere ...
34 views

### How to downsample my data readings from 0.5hz to 0.001667hz. Do I filter and downsample?

I have a device that, in the lab, takes voltage readings every 2 seconds. However in real-life application the device would only wake every 10 minutes and then take a 100 readings whilst awake. How do ...
16 views

### Clarification regarding discrete wavelet transform

One of the books on "Conceptual Wavelets" by Fugal explains some major differences between the undecimated discrete wavelet transform (UDWT) vs. discrete wavelet transform (DWT). In UDWT the scale of ...
46 views

### Analog-to-Information Converters?

In Analog-to-Digital Converters(ADC), the signal is first sampled at a rate higher than or equal to the Nyquist, then quantized and encoded. In Analog-to-Informations (AIC), the sampling and ...
22 views

### Bandpass Experiment: Weird graph! amplitude mismatch?

Why is this generic BP filter seem to magnifying amplitudes when I run it at lower sample rates? The bass range seems to 32 times louder at 1275 Hz (44.1 kHz / 32) than at 44.1kHz? Here is a graph of ...
84 views

### How to prevent distortion after down-sampling?

I am new to audio signal processing, but in one of my machine learning projects that I am working on, I need to down-sample my audio somewhere in the middle of my neural network. Therefore, I need a ...
50 views

### RSP1A sample rate vs if bandwidth

I'm using the RSP1A SDR and I want to understand how to choose the best configuration for receiving a signal of 125 khz bandwidth. I would like to know if when choosing the option 200 KHz IF ...
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: ...
476 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 ...
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 ...
69 views

31 views

### Polyphase components Spectrum formula in Discrete time

I am trying to understand the meaning behind some of the components of the formula for polyphase components in discrete time. Note that $\Omega$ indicates discrete in this notation and the formula is ...
62 views

### Image downsampling with Haar DWT?

How can the resolution of an image in matlab be reduced by using 2D haar wavelet by downsampling-decimation? Is there any predefined code or tool within wavemenu? thanks in advance
242 views

### Why does downsampling stretch a signals frequency response and upsampling shrink and create images of a signals frequency response?

I am learning some basic DSP and I have a pretty good intuition as to why sampling creates spectral images of the frequency response at intervals of the sampling frequency (convolution with pulse ...
420 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 ...
72 views

### ADC way faster than microcontroller

I am getting into signal processing, and am working on a project. My analog-to-digital converter has a sample rate of 10 kHz, whereas my microcontroller can only handle up to 3 kHz. What does that ...
47 views

### Filter design for decimation of 1.1 kHz sensor sample rate to 100 Hz processing rate

Suppose, you have a signal source which is sampled by 1100 Hz and is "somehow" band limited to either 235 or 440 Hz. In my application, that's the ST IIS3DHHC accelerometer. There is an appnote for ...
169 views

### Decimation vs Mean in downsampling operation

Let's suppose I have a discrete signal $x[n]$ with a certain frequency $f_x$. Now, due to various unimportant reason, I want to obtain a new signal $y[m]$ with a new frequency $f_y = \frac{f_x}{k}$, ...
111 views

### Aliasing from downsampling and Nyquist

In a book Conceptual Wavelets in Digital Signal Processing by Lee Fugal 2009 on page 246 the author talks about aliasing present in DWT subbands due to downsampling by 2 and states: Recall from DSP ...
119 views

### Upsampling and downsampling signals as a preprocessing step for a neural network

I have audio data acquired from a 4 channels sensors array. As a preprocessing step for a neural network, I want to beamform and focus on the sound source. For higher resolution in the beamforming ...
101 views

### Why do I have to scale filter coefficients during bandlimited sample rate conversion?

I am writing an example for how to perform sample rate conversion using windowed sinc and polyphase filters. Here is the C++ code as a github gist. So far, this works, and I think I have understood ...
39 views

### Differences in moving window rms due to sampling rate

I have a 10 second recorded signal band pass filtered from 100-500 Hz. The original sampling rate is 10 kS. Now I run a moving window RMS with a window length: 10 ms on the signal (10/1000 * sampling ...
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 ...
69 views

### Understanding sampling rate conversion

I am a little bit confused about the concept of sampling rate conversion. Consider the following question: Wideband telephony signals are sampled at a sampling frequency fS1 = 16kHz. To process these ...
80 views

### How to calculate the variance of noise when an image is downsampled?

I have a noisy image for which I know the noise variance. (Basically I created noisy image by adding noise). Now, I'm downsampling this noisy image. How does the noise variance change? Is it possible ...
45 views

### Reversing the order of up and downsampling

When we are dealing with the problem of changing the sampling rate by a noninteger factor like L/M, we first need to the do the upsampling, and then the downsampling. My question is that under which ...
78 views

### What are the differences between Gaussian down-sampling and bicubic down-sampling in Matlab? Which is more accurate for simulating low resolution?

I see in some of the technical papers, good practice for downsampling is to first pass the image through a Gaussian Filter and then take sampling to avoid problems like aliasing and so on. However, ...
88 views

### Why is my resampled signal cutoff when resampling with a windowed FIR filter in MATLAB?

I have an exercise to write a function which upsamples or downsamples a signal by a factor of F (integer) using a FIR filter windowed with a Kaiser window function. Exercise I had last week included ...
121 views

### Follow up question regarding: “Complex sampling can break Nyquist?”

I'm having some trouble understanding the sample rate limitations when considering a complex baseband signal. I understand (based on the linked SE questions below), the either (1) physically ...
226 views

### How good or bad my downsampled data is?

Suppose I have time series data at a one-minute resolution. Now I downsample data by taking mean of every 10-minute window, i.e., after downsampling, 60 readings will reduce to 6 readings. How should ...
2k 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 ...