Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sampling]

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

1
vote
1answer
62 views

Sub nyquist sampling, required number of samples for time sparse grouped signals

Question: Does it make sense to perform compressed sampling if the non zero samples are grouped in time? If so, what is the minimal length of the vector x that should be acquired to allow full signal ...
0
votes
1answer
174 views

Phantom harmonics when using cosine windows why do they appear and how to avoid them?

Given an L order cosine window, it is possible to show that the width of the main lobe is given by: $$\omega_w = \frac{2 \pi L}{(2N+1)}$$ Where $L$ is the order of the window, $N$ is the maximum ...
-1
votes
1answer
48 views

If a person at rest has an average heart rate between 60 and 100 beats per minute, how manysamples should you plot to obtain 5 beats in the signal?

If a person at rest has an average heart rate between 60 and 100 beats per minute, how many samples should you plot to obtain 5 beats in the signal?
1
vote
1answer
5k views

Find the minimum sampling rate

As the signal $m(t)$ is Baseband signal after modulation it wil be bandpaas signal will look like this So I need to use the Baseband sampling Here $f_L=15kHz,f_H=25kHz,B=5kHz,$Now Undersampling ...
1
vote
3answers
1k views

Waveform samples and I/Q components

I'm quite new to DSP and I guess my problem it's quite silly but I can't find a clear answer. Basically I'm writing some python code for a test. The test requires me to write a memory with the I/Q ...
0
votes
1answer
750 views

Upsampling before performing pulse shaping

I know what an upsampler does. We insert L-1 zeros between the samples. As a result, it creates spectral repetitions. What if we have a symbol impulse stream and then we apply a Root Raised Cosine ...
6
votes
2answers
588 views

Compressive sensing vs. Sparse coding

There apparently are different terminologies used to refer to the same field called "compressive sensing" such as (see this wiki page): compressed sensing, compressive sampling, or sparse sampling. I ...
5
votes
2answers
114 views

What will be the filtered output?

I tried to solve this question from basic Here is my work Image 1 Image 2 But the correct answer is Option $(B)$.What is the mistake i am doing?
1
vote
1answer
490 views

Find the nyquist sampling rate?

I have a signal $x(t)$ for which I want to find the Nyquist frequency : $$ x(t) = \frac{\sin{\pi t/2}}{\pi t/2} \ast \sum^\infty_{n=-\infty}\delta(t-10n)$$ I am trying to solve this in the time ...
4
votes
1answer
150 views

Bandwidth confusion

Let's imagine that I took a Fourier analysis of a random voice signal that I want to sample and plotted it's frequency components in frequency domain (frequency vs amplitude). Now I want to sample it. ...
1
vote
1answer
3k views

Sampling and recovery using matlab

I'm trying to write a program using MATLAB that samples and recovers a given signal with different sampling frequencies The given signal is $x(t) = \sin (2\pi 200 t)$ and sampling frequencies are $...
1
vote
1answer
403 views

How does sampling rate impact Discrete-Time Kalman Filter state space modeling assumptions?

Consider a very simple, discrete-time constant position-type model for state updating in a Kalman filter: $$ x_{k+1} = x_k + w_k $$ The Kalman filter will be run with update interval $T_s$ such that ...
3
votes
1answer
237 views

Why is one of the modulated frequency spikes smaller?

This is a simple amplitude modulation experiment. Both waves are sinusoids of the type cos(2 x pi x f x t). The base signal has a frequency 100Hz, and the ...
1
vote
2answers
1k views

FFT resolution and sampling frequency

I am computing FFT of the data which I am receiving from an ADC with SPI protocol. Since resolution of FFT is related to $F_s/N$ where $N$ is the FFT length and $F_s$ is the sampling frequency of ADC, ...
0
votes
1answer
47 views

which of the analog sinusoidal frequency can not pass through the filter?

First time I am encountering this type of question so i just tried but not getting whether my logic correct or not. First let the sinusoidal signal be $X(t)=\cos(2\pi ft)$. After sampling this ...
1
vote
3answers
304 views

Am I violating Nyquist?

I am using a DAC to transmit 2 different voltage levels. High and low. At 1Gsps. There is no carrier wave or anything. These are just raw 0 and 1 time samples going across a wire. On my ADC I am ...
1
vote
1answer
102 views

Continuous wavelet transform subsampling at lower frequencies?

I am not completely confident in my understanding of wavelet theory, but since I am currently in the process of creating a CWT scalogram tool, I have to ask: Is there a theorem allowing us to ...
2
votes
1answer
996 views

Upsampling and Downsampling using IFFT and FFT

Assume in OFDM , there are N=64 subcarriers. I would like to upsample my signal by Factor 8 after IFFT and pass it through channel then downsample it by factor 8 before FFT. I can use upsample, ...
2
votes
1answer
89 views

Effect of nonlinear transformation on digital signal

Currently, I know that by passing a band-limited baseband digital signal through a nonlinear system results in the expansion of the original signal's bandwidth and creates harmonics. Therefore, I ...
0
votes
2answers
236 views

Random (Over) Sampling signal and perfect Reconstruction in Nyquist form?

Imagine we have band limited signal with bandwidth of $B$, so the required Nyquist rate would be $f_{nyq}>2B$ that is oversampled with rates $f_s$ where $f_s = M*f_{nyq}$ and $M$ is random and $M&...
0
votes
1answer
159 views

wavwrite with 32 bits per sample seems to overflow?

I am trying to generate a 32bit PCM wav file with octave, the file shall contain a single full-scale sample (0db impulse). I am getting the expected result when using 24 bits per sample: ...
5
votes
1answer
179 views

implication of sampling and reconstruction theorem

i am asking this question sorta as a surrogate for a friend at comp.dsp who posted a similar one. even though i did it for a quarter century, laying out math (using "ASCII-math") is crappy, which is ...
1
vote
2answers
86 views

What does it mean that one frequency aliases another?

So I was watching a video on sampling and the professor asked which frequencies will alias to 0 and which to $B$ if we are sampling at frequency $f_{s1}$. What does mean that two frequencies alias ...
1
vote
1answer
137 views

Denoising short, non-uniformly spaced, bandlmited sequences

Consider a bandlimited signal $x(t)$ with bandwidth $BW$. Samples of this signal are observed at non-uniformly spaced sample points in the presence of noise: $y(t_i)=x(t_i) + n_i \qquad i\in\{0,1,\...
0
votes
2answers
86 views

How to find DC bias of periodic signal from samples that include a non-integer number of periods?

I'm using an ADC to sample a periodic signal and I want to calculate the DC bias of the signal from the samples. The obvious solution is to take the average of the samples. This works fine if there ...
2
votes
2answers
620 views

Does a 20 kHz sine wave sampled at 44.1 kHz need to be reconstituted before playback?

I am interested in building a synthesizer but I am confused about the Nyquist-Shannon Theorem and sampling rates. If I sample a 20 kHz sine wave at 200 kHz and plot the data points, the plot looks ...
1
vote
0answers
54 views

Real-time DAQ (Data AcQuisition) device and filtering of voltage signals in audio frequencies

I'm working on a frequency mixer project in which two analog voltage signals at two different frequencies (each <5 kHz) are considered. I'd like to add the two fundamental frequencies and return an ...
2
votes
1answer
88 views

What do I with the sampling period when I inverse $\mathcal Z$-transform?

Given the input $$e(kT_s) = {0.4, 0.8,1.2, - 0.9}, \quad k = 0,1,2,3$$ and transfer function $$T\left(z^{-1}\right)=\frac {z^{-1}-0.8z^{-2}}{1-1.1z^{-1}+0.3}$$ Find the output $Y(kT_s),\...
1
vote
1answer
2k views

Does Higher Sampling Rate Increase SNR?

I have AM demodulated voice samples that come from a 14bit ADC that I will filter, process, and then send to a CODEC. I can choose a sample rate of 96kSPS, 64kSPS, 48kSPS, or 32kSPS at the CODEC. ...
1
vote
3answers
550 views

Precision measurement of sine wave amplitude with ADC

I want to measure amplitude of a sine wave input precisely with a limited resolution ADC. As an example suppose that I have $1\textrm{ MHz}$ pure sine wave input to the $320\textrm{ Msps}$ $10$-bit ...
1
vote
3answers
508 views

Applying Nyquist theorem to digital vs. analog audio quality

I had a recent conversation with a friend about analog vs. digital recordings. He shared his opinion that music recorded by analog techniques is of superior sound quality to music recorded by digital ...
0
votes
4answers
58 views

Transmission of sampled signal

A signal sampled in time domain has replicas of its spectrum in frequency domain. This implies that to transmit a sampled signal we need ifinite bandwidth.How is this possible?
3
votes
1answer
563 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?
0
votes
1answer
273 views

Variance of N samples of Noise

What is the variance of $N$ samples of white Gaussian noise? I have an Equation for a continuous time which includes an $\mathrm{SNR}$ term inside it. Now when I am going to sample it, what is the ...
0
votes
3answers
282 views

Effect of aliasing when sampling at higher rate

Considering a signal $f(t)=\sin(2\pi t)$ with frequency $10\textrm{ Hz}$: Middle and bottom plots show the results of sampling at different rates. I'm trying to understand the case shown at the ...
0
votes
1answer
71 views

SD of a function of signals

Say $a_x$, $a_y$, $b_x$, $b_y$ are signals with values in $\mathbb{R}$. Say they are independednt, normally distributed variables with given SDs $\sigma_{a_x}$, $\sigma_{a_y}$, $\sigma_{b_x}$, $\...
2
votes
1answer
217 views

Interpolation formula for two dimensional signal reconstruction in the frequency domain from polar samples

In the book, Advanced Topics in Shannon Sampling and Interpolation Theory by Robert J. Marks II, one may find an interpolation formula for reconstructing a two dimensional signal from regular polar ...
3
votes
1answer
193 views

Impulse response of a continuous system sampled with zero-order hold

I've a continuous system $$F(s) = \frac{K}{Ts+1}.$$ I sample it with zero-order hold with sampling period $T_s$. The discrete system transfer function is $$ \begin{aligned} G(z) &= % \frac{z-1}{z}...
1
vote
2answers
5k views

Calculating the phase shift between two signals based on samples

I am comparing two signals in MATLAB Simulink for finding the phase between them. To do this I am inspired by using the code found here. I have two vectors of the same size which are a collection of ...
0
votes
2answers
132 views

Why sampling rate is not an option with normalized frequency in Matlab Filter Designer

My Matlab version is 2017b. When I use Filter designer with normalized frequency specifications, I cannot set the sampling rate. May you tell me why the sampling frequency cannot be specified? As I ...
5
votes
1answer
119 views

Is sampling a Fourier transformed signal and fourier transforming a sampled signal the same?

I'm having a hard time understanding an assignment that states: Draw the complex spectrum of the sampled signal $f(t)$ (periodic and continuous). Do this, by first calculating the Fourier ...
0
votes
1answer
85 views

Is it possible to do deconvolution with two data sets that have different sampling rates?

I have some terahertz spectroscopy time series data, a reference set with 2048 data points taken every 0.0521 picoseconds, and the sample data set with 544 data points taken every 0.0781 picoseconds. ...
1
vote
1answer
138 views

Octave error - STFT parameters when detecting pitch in guitar audio signals

I am working with this STFT method to detect pitch in monophonic guitar audio signals. The method is working correctly for medium pitches (above 150Hz). However, in low notes I have some issues. ...
1
vote
2answers
2k views

Bandwidth vs. sampling rate of DAC

What is the difference between the sampling rate and the bandwidth of a DAC? I have found in one paper a DAC speced as 15GHz 3dB bandwidth, and 64GS/s sampling rate, and I haven't been able to relate ...
0
votes
1answer
432 views

FFT and number of samples relations

I am new in signal processing. I generated a signal with $f_{in}=10 \mathrm{kHz}$ and also take 64 sample from this signal after doing some process in an ADC block. I want to convert the result to the ...
0
votes
0answers
54 views

How to perform sampling for the discrete data entered to IFFT in OFDM?

The relation $N= \textrm{BW} /\Delta f$, where $N$ is number of subcarriers, $\textrm{BW}$ is the available bandwidth and $\Delta f$ is the subcarrier spacing (subcarrier bandwidth) is reasonable for ...
0
votes
1answer
408 views

What are two different continuous-time signals when sampled at $10\textrm{ Hz}$ would produce the sequence $x(n)=\cos(n\pi/8)$?

The answer is: $\cos(1250\pi t)$ and $\cos(21250\pi t)$ I’m not able to verify. My understanding is that when you periodically increase $t$ by $1/10$ ($10$ here is the frequency, so $1/10$ is ...
5
votes
1answer
2k views

Correlation of two signals at different sample rate

I have a signal $X$ and I want to find signal $Y$ in $X$, I can achieve this by cross-correlation. Signal $X$ is sampled at $8000\textrm{ Hz}$, and $Y$ signal is sampled at $44100\textrm{ Hz}$. My ...
0
votes
1answer
79 views

Representing a positive 0-limiting continuous time domain function, in terms of spectral samples, outside of a window

Bit of an odd question Assume you have a known function $x(t)$ which is continuous, but approaches but is not equal to, 0, on the interval $[-\infty,\infty]$ . You know also that it approaches 0 ...
0
votes
1answer
544 views

frequency domain zero padding in OFDM

I have a matlab code for OFDM system, in this code the auther added a zero padded subcarriers before the IFFT stage, in the middle of the raws, and added zero padded guard interval after IFFT, my ...