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
4answers
407 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 ...
0
votes
1answer
39 views

How do I convert a sampled complex signal to a real signal?

I’m writing a Soapy SDR plugin for the FL2K-SDR. Soapy SDR expects plugins to produce and consume IQ samples. However, the FL2K-SDR driver consumes only real samples. I know you can convert a real ...
1
vote
0answers
15 views

Calculate sampling lattice matrix in 2D

The pattern in which the sample points are distributed in 2 dims, is called a sampling lattice, and can be defined by a generator matrix.. In 2 dimensions, the generator matrix consists of 2 vectors. ...
2
votes
2answers
192 views

Phase difference between signals sampled at different frequencies

I want to know that if it is possible to measure the relative phase difference between a signal that has been sampled at two different locations with different sampling frequencies? Also can that ...
1
vote
1answer
4k views

No of samples 4mega samples per second,using 8 bit ADC,V p_p is6V. calculate frequency and peak power

This place has been great in helping me to understand my online image and signals class! I've moved on to another question and wanted to see if I'm correctly grasping the subject. The next question ...
0
votes
3answers
62 views

confusion sampling vs quantization?

while converting analog signal to digital equivalent,we have a process that is called analog to digital conversion and it has two main steps/stages sampling and quantization? I am confused whether y ...
0
votes
1answer
24 views

Recoverable continuous function after average sampling

I have a personal interest in this question, but I don't know if it is unfounded. Suppose I have a continuous function x (t), which is sampled using an average sliding window, which performs a ...
0
votes
3answers
408 views

Nyquist Frequency Confusion

1- If I have a sine wave with period of $T$, I need to sample at least every $T/2$ to be able to reconstruct the sine wave. Let's look at this: This way I'd get a series of $0$s and all information ...
1
vote
1answer
138 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 ...
1
vote
2answers
74 views

Sampling Theorem: T-Sampled Signal

I am stuck in a small question which I am trying to solve. The signal $f$ defined by $f(t) := \text{sinc}(t)$ is to be sampled. How should I draw the illustrations of the $T$-sampled signal $f_{T} = (...
0
votes
0answers
39 views

Sample codes to detecting psychological depression from speech [closed]

We as a university exercises like to start by simulating one paper or sample about this fields by having some useful codes maybe combination of some other useful detection method by having its codes ...
0
votes
0answers
8 views

What is the difference between SFO (sampling frequency offset) and SCO (Sampling clock offset)?

What is the difference between SFO (sampling frequency offset) and SCO (Sampling clock offset)? I think they are essentially the same phenomenon?
0
votes
1answer
190 views

Choosing a Sampling Rate and a Cutoff frequency

I have an assignment: You wish to generate a pure 1000 Hz tone digitally using a computer. How would you choose a sample rate that assures that you could generate the tone and use the same sample ...
1
vote
2answers
76 views

anti-alias filter of square pulses

I'm trying to determine whether or not an anti-alias filter is needed for sampling square waves. The goal is to sample square wave pulses from a video detector with an ADC, do some time-domain digital ...
1
vote
2answers
2k views

What is the difference between the sampling frequency of signal and sampling frequency of filter

I believe that there is no connection between the sampling frequency used for converting an analogue filter to digital filter and the one used to sample a signal that the filter will be used on. But I ...
0
votes
2answers
139 views

Understanding the Conditions for Recovering a Discrete Time Signal Through Sampling

So, we had a very brief introduction to the Nyquist-Shannon sampling theorem (the discrete time version). While discussing this, we have seen that multiplying a discrete time signal $x[n]$ by an ...
0
votes
2answers
91 views

Fourier Like Spectral Analysis with Uneven Intervals and Redesigned DFT Matrix

I intended to use a discrete Fourier transform (DFT) on a time series sampled at uneven intervals. What I did was to calculate a DFT matrix where the elements are the values at the uneven locations ...
1
vote
1answer
85 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 ...
1
vote
1answer
92 views

Signals sampling

I have a simple question, but sadly I'm kind of "noob" in signals theory. A signal having 4 harmonics at the following frequencies: 1 kHz, 2 kHz, 3.5kHz and 4.2 kHz. (How can a signal have harmonics "...
0
votes
1answer
126 views

Low-Pass Filtering of not evenly sampled signal

I have a signal sampled unevenly over 1 million ns. the signal is sampled over 1GHZ clock and the samples are as the following: 0-100 ns - sample every 1 ns. 100-1000 ns - sample every 10 ns. 1000-...
0
votes
1answer
84 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 ...
1
vote
1answer
39 views

Multiband undersampling

In Practical Signal Processing (Marc Owen), an exercise explore the topic of undersampling: [...] Suppose you know that an audio signal is a sine wave with a frequency that might be in one of two ...
0
votes
2answers
55 views

Nyquist sampling in image acquisition

I know that in the image acquisition stage, after obtaining the analog image from the sensors, it is sampled and quantized. How the Nyquist sampling is achieved? The sampling frequency must be at ...
0
votes
2answers
61 views

Phase measurement with FFT for DMM Keithley 7510

I am currenly working on a measurement driver for the DMM Keithley 7510. I implemented a harmonics measurement using FFT (from MathNet library). First I simply sample my input voltage signal and ...
0
votes
1answer
32 views

ADC sampling rate implications Matlab/Simulink M-PSK modulation

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 ...
0
votes
2answers
47 views

Sampling $x(t)=\cos(4\pi t)+\cos(2\pi t)$

Imagine that we sample the signal $x(t)=\cos(4\pi t)+\cos(2\pi t)$ with a certain sample frequency $f_s$ and we obtain $x[n]$. Now, by ideal interpolation, we get $y(t)$ from $x[n]$. How can we know ...
0
votes
1answer
69 views

Nyquist Theorem adding two same frequency near to Nyquist Frequency with phase shift

This is my first question on this platform. Sorry if I made mistakes. What happens if we add two or more same frequency signals near to Nyquist Frequency with phase shift and sample them? For ...
1
vote
0answers
31 views

How to generate Digital Sine Wave? [closed]

I am trying to generate a sine wave digitally. I am using LMS7200m RF chip from Lime microsystems. I want to generate a sine wave of 100KHz. The DAC on the chip has a sampling rate of 640 MHz with ...
0
votes
1answer
38 views

I/Q plane plot understanding?

I am experimenting with some signals. I ma generating a 2.47 Ghz signal from signal generator and receiving it by an SDR (LMS7002m Rf chip) with Rx frequency tuned to 2.47 GHz. Upon plotting the ...
2
votes
1answer
223 views

Determining sampling rate for signal reconstruction

I want to know how to determine the signal sampling rate required to reconstruct electrical signals whose frequency components are unknown, such as, for example, signals of charge/discharge voltage on ...
0
votes
2answers
60 views

How to select the sampling frequency when the input signal frequency is not known

I am trying to observe the noise produced by UPS present in our lab, under no load (a normal running condition when its power is on). As I don't know its frequency range, I have randomly chosen 4 ...
1
vote
2answers
95 views

Multiple different length Windows for high resolution realtime FFT

I am looking at trying to achieve a 'realtime' (as quick as possible to acquire, process and present data) FFT application to analyse audio. I have setup my app to acquire a set of samples, apply a ...
0
votes
1answer
638 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 ...
0
votes
1answer
238 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 ...
0
votes
1answer
58 views

How to determine sampling frequency for an x(t) signal avoiding aliasing?

The antitransform of the function is given: $ \hat{x}(f) = \frac{123 + i246\pi f}{246 - 24600 \pi^2 f^2 + i4920\pi f} $ I'm asked to determine which frequency can I sample using the function x(t) ...
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'...
0
votes
1answer
50 views

Cancelling out known signal with sampling offset

I would like to cancel out a known audio signal at my receiver. Specifically at my transmitter I am playing a song, and at my receiver I am recording it. Both transmit and receive sampling rate is 44....
0
votes
3answers
125 views

How is a signal changed after sampling?

I can't understand sampling signal mathematically. for example $x(t) = 2\cos(100\pi t) + \cos(300\pi t)$ and I know I should use sampling frequency $300\textrm{Hz}$ to sample this signal. and after ...
2
votes
1answer
48 views

How to describe correlated noise after the signal is oversampled?

The Gaussian noise in discrete signal models is usually assumed to be independent and identically distributed variables (i.i.d.). Does this mean that the signal must be sampled with the sampling rate ...
2
votes
0answers
65 views

Lagrange Vs Sinc interpolation

I was wondering what is the practical difference between Lagrange Interpolation using Farrow Structure and Sinc Interpolation? Both require pre-computation of time offset coefficients using a lookup ...
1
vote
1answer
138 views

about sampling frequency

I am trying to make a DFT on a signal with frequency f=50 MHz main component plus some noise. As far as I know if I sample it at F=100MHz I should be able to get a proper plot of the DFT since F=2f ...
0
votes
1answer
58 views

Reconstruction of sampled band-pass signal

I am pretty new to signal processing. I am currently trying to reconstruct a sampled band-pass signal created with the filtfilt and ...
4
votes
3answers
99 views

Digital to analog aliasing or mirror query… DAC can output negative frequency?

Using a clock Fs = 1 MHz. The Digital to Analog (DAC) can make frequencies upto 500 KHz. 500 kHz to 1 MHz is an alias? Or is it called a mirror?? Is aliasing a concept only on the ADC and sampling ...
0
votes
0answers
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 ...
2
votes
1answer
65 views

Variance of a signal

How to calculate the variance of noise samples modeled as follows: $n_a(t)$ is a Gaussian zero-mean white noise process with (two-sided) power spectral density $\frac{N_0}{2}$. $n_a(t)$ is passed ...
0
votes
1answer
21 views

How to get RMS to Frequency chart for discrete samples of acceleration?

I’m reading a book on Motorcycle dynamics and want to compare the vibration profile of my motorbike against this chart: I am not sure how to get the RMS of acceleration at different frequencies. I ...
0
votes
1answer
65 views

Why is my filter unstable and self-oscillating in this case?

I am using resonant bandpasses to simulate modes of guitar/piano strings for audio synthesis. While attempting to introduce coupling effects I have encountered a problem. I will illustrate with some ...
0
votes
2answers
56 views

how a signal for which calculate RMS can be filtered and have a fast settling time?

i designed a sinusoidal pwm amplifier (3KHz to 20KHz) that regulates its output voltage reading the RMS value of output current. The RMS is obtained squaring the signal sampled by AD converter @...
0
votes
1answer
69 views

Sampling period

I started it but didn't how to continue , any help ?
2
votes
1answer
49 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 (...