Questions tagged [sampling]

In signal processing, sampling is the reduction of a continuous-domain signal to a discrete-domain signal.

Filter by
Sorted by
Tagged with
3
votes
2answers
198 views

Alignment of 2 Set of Samples from Different Sensors

If we measure the heart rate of a subject with two different devices, which have big different sampling rates then how we can compare their outcomes. For instance, one of the devices has the sampling ...
3
votes
4answers
248 views

What is Frequency Resolution?

Im trying to tackle the following problem while still not having a firm idea on what "frequency resolution" means : Suppose we sample a continuous time signal with sampling period Ts = 1/2000, and ...
3
votes
3answers
3k views

Is sampling at double the desired reproduction frequency accurate?

This is probably a general principles question, though I'm thinking specifically in relation to sound, which is commonly sampled at a rate of 44.1 kHz in part because the maximum frequency the average ...
3
votes
1answer
1k views

How does the number of frequency-domain sampling points influence the outcome of an inverse FFT?

Given some frequency-domain representation of an impulse response. How does the number of frequency-domain sampling points influence the outcome of an inverse FFT, if I keep the sampling frequency ...
3
votes
3answers
640 views

What is the most computationally efficient way to generate 100 sine waves layered on top of each other?

Right now I simply do this (pseudocode) for freq in freqs: for i in len(samples): samples[i] += sin(...) Is there a better way? This is for ...
3
votes
2answers
321 views

If sampling rate is high does that increase the error or decrease the error?

Suppose we are tracking a computer mouse on the screen, if we increase the frequency of the sampling rate(to very high values) then would that increase the error in getting the exact position of the ...
3
votes
2answers
417 views

Question About Sampling White Noise

Assuming that we have a continuous signal $v(t)$ $$v(t) = \int_0^t g(u)\, \mathrm du\tag1$$ where $g(t)$ is white noise.Then take the derivative of it. $$\frac{\mathrm d}{\,\mathrm dt} v(t) = g(t)\...
3
votes
1answer
911 views

DAC Sinc Roll-off vs Freq

The output of a Digital to Analog converter has a magnitude roll-off in frequency as a Sinc function with the first null at the sampling rate. Why is this the case?
3
votes
3answers
153 views

DFT for signals of different length and sampling rate

I would like to compare oscillations of biological object. I have multiple datasets which are taken with different sampling rate and have different length. My current workflow: Take derivative, ...
3
votes
1answer
845 views

What is the relationship between angular frequency and normalized angular frequency

This is a slide from my lecture notes: My professor used the following words " We denote digital frequencies with capital letters and analogue frequencies with lower case letters" The problem I have ...
3
votes
1answer
452 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 ...
3
votes
1answer
103 views

Is spectral density sometimes normalized by sampling rate rather than bin size?

I'm a scientist conducting an experiment that requires some signal processing. My expertise is not in signal processing, thus here I am. We've basically re-created an experiment conducted by other ...
3
votes
1answer
103 views

Definition of DSP Terms

can someone define/explain briefly (or with some detail-> up to you) the following terms: Block Processing? and what are the differences between it and Sample Processing? (removed) What is a 3D ...
3
votes
2answers
298 views

How does sampling rate of $x[n]$ relate to sampling rate in frequency domain after DFT transformation?

I've got an analog signal $x(t)$ sampled at frequency $F_s$ to obtain samples: $$ x[n] = x(t) \bigg|_{t=n/F_s} $$ I transform this signal with DFT defined as: $$X[k] = \sum_{n=0}^{N-1}x[n]e^{-i2\pi ...
3
votes
1answer
73 views

Envelop detection with low sample rate?

I have a signal up to $3\textrm{ MHz}$. The ADC that sample it has a rate of $1.5\mu s$. So a full $T$ of the signal is $0.3\mu s$, and I can only sample each $1.5\mu s$. It sounds not enough, but I ...
3
votes
1answer
274 views

What is the frequency of $\cos x -\sqrt 2\cos\sqrt 2 x$?

Question Considering that $1\over{2\pi}$ is the frequency of $\cos x$ and also of $\cos x - 2\cos 2x$, what is the frequency of $\cos x - \sqrt 2\cos\sqrt 2 x$? Thoughts Perhaps "frequency" isn't ...
3
votes
1answer
2k views

pitch vs playback rate

Let's say I have an audio sample, whose pitch is known to be C4 (don't wanna go in detail here, let's say I just sampled a tuned piano playing the C4 key). The rules of the game are: I can only ...
3
votes
1answer
75 views

Nyquist Rate (Sampling Frequency) for $ {f}^{2} \left( x, y \right) $

We are given that $f(x,y)$ is highest frequency is $\omega$ what will be the frequency sample rate if we want to restore the function of the form $g(x,y)=f^2(x,y)$ Would it be correct to say that ...
3
votes
1answer
373 views

Noise PSD and sampling rate relation

Let's consider generating samples of a random process like white Gaussian noise (AWGN). Let's assume I am generating $N$ samples of AWGN with variance $\sigma ^2$ in MATLAB by using randn() funtion i....
3
votes
3answers
277 views

Sampling and Reconstructing Digital Signal

Say that I have a digital signal (a bitstream actually) whose output changes every 100 mS. I don't know exactly when it changes relative to my sampling, only that that the next bit to capture appears ...
3
votes
3answers
2k views

Fusing or combining signals from multiple sensors

I've become very interested in the problem of fusing multiple low-cost sensors' outputs and trying to combine these outputs in such a way as to rival or exceed the output of a single high-quality / ...
3
votes
1answer
171 views

What are some deep results in sampling theory?

I have taken a basic course or two in signal processing and I've seen the Nyquist sampling theorem - an interesting and surprising result giving sufficient conditions for reconstruction of a ...
3
votes
1answer
167 views

Codec Output has “Wavy” Amplitude on Chirp Input

I am sending a chirp that sweeps form 20Hz to 500Hz to an audio codec, CS42L52, connected to an MCU, STM32F405, and I am receiving a "wavy" amplitude output. There is no processing on the MCU, I pass ...
3
votes
2answers
146 views

About sampling and wireless networks

Wireless networks operate on a high frequency, say some several gigahertz. Are the signals really sampled at that high frequencies? If I got it correctly there's some modulating/demodulating in signal ...
3
votes
1answer
184 views

What is the optimal adaptive grid for calculating a DFT using a fixed number of sampling points?

I'm currently facing the following problem: I want to approximate the Fourier transform $F(\omega)$ of a (let's say, $L^2(\mathbb R)$) function $f(x)$ by calculating the discrete Fourier transform, ...
3
votes
1answer
239 views

Locking on to a square wave signal with minimum oversampling

I'm designing a device that will have an IR photodiode connected to a low power microcontroller's ADC pin. At times, another device will be transmitting a 48KHz square wave, and I'd like to be able to ...
3
votes
1answer
86 views

Multiplying signals in discrete-time vs continuous-time

Given two discrete-time signals $a[n]$, $b[n]$ and its product $c[n]=a[n] b[n]$. The ideally interpolated, continuous-time version of $c[n]$ is \begin{align} c_1(t)&=\sum_{n=-\infty}^{\infty} a[n] ...
3
votes
1answer
117 views

Understading sampling theorem and aliasing

A real-valued analog signal with a flat spectrum between f = 0 Hz, and fmax is sampled at a sampling frequency fs = 24 kHz. The sampled signal is then processed with an ideal lowpass filter with ...
3
votes
1answer
90 views

How to undo dynamic Doppler effect by software?

I have a signal affected by Doppler effect. In general, the Doppler effect changes the scale of the time and frequency domains. So, to undo this phenomenon, I am using a sampling rate converter. Two ...
3
votes
1answer
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 ...
3
votes
1answer
3k views

Understanding “voltage” and “power” in SNR of a sampled signal

I'm facing a gap in my understanding of when a signal is a "voltage" signal and when it is a "power" signal that I've always managed to avoid resolving until now... First what I think I understand, ...
3
votes
1answer
617 views

Benefits of oversampling in a realtime noise-cancellation system

When sampling a signal, it is standard practice to use a sampling rate that is greater than two times the bandwidth of the signal in order to avoid aliasing. The result is then low-pass filtered (and ...
3
votes
2answers
1k views

Using Goertzel Algorithm in under-sampling

I plan to calculate a signal's phase using Goertzel Algorithm. I have 2 signals coming to microcontroller's ADC. Need to measure the phase difference between them. Signals are 15MHz sinusoids. Sample ...
3
votes
1answer
1k views

Why do we read that Hilbert transform can be used for envelope detection?

We can often read that Hilbert transform is useful for envelope detection (e.g. Hilbert transform to compute signal envelope?) I have done some tests with various soundfiles, and ...
3
votes
1answer
83 views

Representing a continuous LTI system as a discrete one

I am aware that there are different ways to represent a continuous time system in discrete domain (e.g. bilinear transform, impulse invariance transform). But my problem is as follows: Given an ...
3
votes
0answers
78 views

Minimum time delay that can be estimated between two sensors

Consider a 1-dimensional toy problem. I have two sensors at different points along the $x$-axis. Somewhere away from the sensors, a disturbance is created which travels towards the sensors, first ...
3
votes
0answers
944 views

Sinc interpolation formula for signal reconstruction in frequency domain from bipolar samples

As per the title, I was wondering if there was a $\operatorname{sinc}$ based interoplation formula for reconstructing a signal in the frequency domain which has been sampled with respect the bipolar ...
3
votes
3answers
1k views

Aquila DSP C++ Library - Wave file FFT analog frequency off by factor of 4?

I'm working with the Aquila C++ DSP library. I'm computing the FFT of a wave file (16 bit depth, single channel, 44100 sample rate). I am using a window size of 16384 to calculate the FFT spectrum. I'...
3
votes
0answers
565 views

Interpolating on the borders of differently-resolved images

I'm creating a three-dimensional model of the earth based on SRTM height data. The data set is pretty huge, so only a small fraction of the data is available at any given time. The height data is ...
3
votes
1answer
433 views

Mathematical model of equivalent-time sampling, the resulting unevenly spaced periodic signal, and its interpretation

I sample a continuous signal $s(T)$ over time. This leads to $s[t]$, which depends on several factors of which some are (pseudo-) periodic. I am interested in the effect of one such periodic factors ...
3
votes
0answers
163 views

understanding discrete wavelets

I was reading section 4.3.3 from chapter 4 of "A Wavelet Tour of Signal Processing", "...Let $\bar{f}(t)$ be a continuous time signal defined over $[0,1]$. Let $f[n]$ be the discrete signal obtained ...
2
votes
5answers
2k views

A question about sampling rate of cosine signal

Given $$c(t) = \cos(2\pi\cdot 30 \cdot t) $$ If we sample this signal at the Nyquist rate 60 Hz and at a higher rate of 80 Hz, we get the following: There is no aliasing as $f$ = 30 Hz is less than ...
2
votes
3answers
204 views

What sample rate should I use on my ADC?

I have an ADC that will have a guitar track as an input. I want to find which notes are hitting via the frequency domain. Given that guitar frequency range is from 82Hz to 1046Hz which sample rate (...
2
votes
3answers
182 views

Sampling: question regarding sampling period

what exactly happens when I increase the sampling period ? Providing some Matlab plots so that I can be more clear. Using the signal $x(t) = \sin(10\pi t)$ and periods $T_s=0.02 ,\; 0.05 ,\; 0.1$ ...
2
votes
3answers
213 views

What is the role of a LPF in oversampling?

Lets assume that a signal $x(n)$ is up-sampled by adding 1 zero between two adjacent samples to form a signal $y(n)$. How does a digital LPF give an oversampled version $z(n)$, with more data points? (...
2
votes
4answers
819 views

Estimate Delay of a Known Signal Delayed by Sub Sample Resolution

Given a known signal $ x \left( t \right) $ and its delayed version $ y \left(t, \tau \right) = x \left( t - \tau \right) $. Both are sampled by Sampling Frequency $ {F}_{s} $ to generate the signals $...
2
votes
2answers
3k views

Can the order of filtering and downsampling be exchanged?

Say for example, I have a signal with maximum frequency at 600Hz, and I originally oversampled it at 2000Hz. Afterwards I was only interested in frequency less than 500Hz. I guess I could first filter ...
2
votes
2answers
3k views

Sampling a Unit step function

I have following two related questions concerning unit step function. 1-I want to sample the following signal. What will be the sample value at t=0? The signal takes 0 time to change from 0 to 1. So ...
2
votes
1answer
329 views

Understanding the mathematical proof for the alias frequencies in a sampled sine wave

I'm struggling to get my head round the mathematical proof for the alias frequencies in a sampled sine wave. I understand that sampling a sine wave of frequency $f_0$ every $t_s$ seconds gives you: $...
2
votes
4answers
203 views

What is the sampling rate in this case?

A signal $x=\sin(\pi t/4)$ sampled at every $t=1$ sec. so $T=1$ sec Sampled signal is then $x=\sin(\pi n/4)$, What is the sampling rate in this case?, And according to Nyquist sampling rate what ...

1 2
3
4 5
17