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
0
votes
1answer
24 views

integral with vectoric varying coeficient

i have a basic function exp(-x.^2).*log(x).^2 which i integrate in a certain interval. i want to multiply my basic function with a vectoric coefficient called coef_vec that varies with the interval. ...
0
votes
1answer
33 views

Reconstruction of Contiuous - Time Signals

In terms of analog signals, we can represent digital signal as : $$ x[n] \triangleq x_{a}(nT) = \int_{-\infty}^{\infty}X_{a}(f) \, e^{j2\pi f nT} \ \mathrm{d}f $$ While if we focused on the integral ...
1
vote
1answer
36 views

Continuous frequency grid to discrete grid

I am designing a controller for a system using several methods, one of which is a discrete method. In the continuous time I am looking at a logarithmically spaced frequency grid in the range $$\omega \...
0
votes
0answers
19 views

How do you change an instance of dsp.DigitalDownConverter object in MATLAB to work with filters other than the ones it is originally defined with?

If you look at this website: https://www.mathworks.com/help/dsp/ref/dsp.digitaldownconverter-system-object.html you will see an example (with code) that attempts to up convert and down convert a ...
0
votes
1answer
30 views

Partial column approximation error

Can someone help me understanf how to plot the next partial column in MATLAB: while N=2001 |M|<700 ak =
0
votes
1answer
91 views

ZOH DAC amplitude formula testing

We have an expression shown in red bellow for non ideal DAC ZOH,which links the sampling frequency to the amplitude loss of the input signal. I took $f_b=1kHz$ and $f_{noise}=4kHz$ $f_{in}=f_b+f_{...
0
votes
2answers
59 views

ZOH non ideal sampling loss formula

Hello i am trying to calculate the amplitude loss of non ideal sampling. My signals amplitude is 10 at 70 frequency. When we sample it at Fs=400 we have al 0.511 loss as shown in plot bellow. How can ...
0
votes
1answer
127 views

CTFT to DTFT why can't you always just substitute $\Omega = \omega/T_S$

This is something I've always wondered about in DSP class, but just accept as a fact because I never really fully understand why this is the case: Given CTFT: $$X_s(j\Omega) = 6000 \pi \sum \limits_{...
0
votes
1answer
85 views

Difference between frame rate and sampling rate?

Below are the two different methods of generating time to create an audio sine wave. While framerate is being used as steps in one method, the inverse of sampling rate is being used as steps in the ...
2
votes
2answers
102 views

Contradictory results from power spectral densities and autocorrelation in shot noise

I have a white noise generator circuit which involves a Zener diode meant to undergo breakdown across a resistor $R1$, and am trying to compare power spectral densities and autocorrelation of the ...
0
votes
1answer
92 views

Time stretching allowing for pitch change

I have implemented the WSOLA time stretching algorithm for audio data, but there are still many artifacts from the stretching. I don't actually care about maintaining pitch and am totally ok with ...
0
votes
1answer
80 views

Reconstruction using sinc

The signal that I produce above. What is the reason for it to slide to the right? In oversampling at Nyquist rate can I make like below picture ? do you think the signal i produced at nyquist rate is ...
1
vote
2answers
432 views

Sampling and Reconstruction of digital signal in Matlab

I'm trying to write a program in Matlab that samples (using Nyquist theorem) and recovers signal. However, I cannot write sampling part for sum of 2 signal. ...
1
vote
0answers
47 views

Any DVB-S2 sample streams, publicly available?

I'm working on a DVB-S2 receiver and I'd like to be able to test a part of the DSP chain with real-world signals, but getting good sample streams from a digitizer is not terribly easy. Can anyone ...
0
votes
2answers
183 views

Downsampling issues

I have this data that need to be downsampled so that it can be fed into a classifier. The issue is that I need to downsample from 1000Hz into 20Hz. If you see the graph below, the blue line is the ...
0
votes
0answers
43 views

Remove aliasing caused by scanning a wave file at arbitrary playback rates

I am writing a sound generator that needs to scan through audio samples at an arbitrary rate. When the sample is played at it's original rate, it sounds fine. But when I change the playback speed, it ...
0
votes
1answer
69 views

function for sampling sine function

I wanted to write a function for sampling sine function with sampling frequency sf,frequency f and length l, so I wrote the function adopting from the sampling formula, what change should I apply to ...
1
vote
0answers
61 views

GPS Acquisition Graphs [closed]

I am trying to generate GPS Acquisition signals using frequency code phase search acquisition. I generated C/A gold codes and digitised at 16.368e6 MHz(sampling frequency) I generated carrier signals ...
0
votes
2answers
120 views

Up-sampling using ZOH

The basic idea of up-sampling is to add $M-1$ zeros after each sample. I need to make upsampling(factor of 3) of the function $rcosdesign(\beta, M, T)$ using the ZOH filter in Matlab. $\beta=0.25$, $M=...
0
votes
1answer
96 views

Whats the difference between spatial and temporal resolution?

Iam trying to understand how super-resolution works. But i think i have not understood correctly the difference between the optical resolution (spatial resolution?) and the resolution i know from a ...
0
votes
3answers
158 views

Is it better to use sampling rates which are a power of 2? 32-64-128-256-512Hz? instead of using for example 30- 60-100-250-500Hz?

I am recently working with a sensor that I its sampling frequency can only be configured to either 32hz- 64hz- 128hz-256hz... and I was wondering whether using such sampling frequencies have any ...
2
votes
2answers
415 views

How can I generate a sine and cosine function using an exponential function?

I have been trying to generate sine and cosine sampled graphs by a given sampling frequency. ...
-1
votes
1answer
66 views

creating this famous basic nyquist theory photo

Hello i ha built this code which create a only one replica of the data, how can i create the whole photo shown bellow of many cycles as shown bellow? i read in the internet that zero padding could ...
1
vote
2answers
224 views

Types of interpolation used for reconstruction in DSP?

What are the different types of interpolation used in DSP for reconstruction of analog signal from discrete/digital signal I am able to somehow learn two types of interpolation 1st is "zero order ...
1
vote
3answers
93 views

Upsampling with time offsets

Suppose I have done 4x oversampling for a continuous time signal, but the successive sampling times have a linearly increasing offset. Specifically, the samples with indices {4k; k=0, 1, 2,...} are ...
3
votes
3answers
351 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, ...
0
votes
4answers
191 views

Why is In-phase Quadrature sampling not used to record and store digital audio?

I/Q is a standard method to sample radio frequency and its use is even seen in some non radio signals like sonar. But it seems that it is not used to sample acoustic frequencies. What property of ...
1
vote
2answers
123 views

Fourier Transform of sampled reflectance measurements

Goal: Calculate the complex index of refraction ($\hat n = n +jk)$ from reflectance measurements. Data: Reflectance measurements for various materials were taken with a FTIR (Nicolet™ iS50 FTIR, ...
0
votes
0answers
19 views

Sampling points on a face of a human body mesh

Is there a known shape analysis technique to sample points of a not necessarily naked human body mesh (more specifically the head part). The goal would be to randomly sample (uniform distribution) ...
0
votes
2answers
896 views

How do Anti-Aliasing Filters filter the signal?

I have programmed a anti-aliasing filter that uses the fourier-transformation and makes a perfect cutoff on my desired cutoff frequency for downsampling without aliasing. I have read about other ...
0
votes
3answers
83 views

does aliasing occur always if i sample a vibration in real world applications?

I was reading about the aliasing effect and nyquist. I understand that aliasing effect occurs if the sampling rate is lower than twice the maximum frequency in the signal I want to sample. So I was ...
0
votes
1answer
137 views

Nyquist theorem vs sampling theorem vs shannon sampling theorem?

Is there any difference between these three?or these are just three names of same theorem?
0
votes
1answer
57 views

Phase difference measurement of a 100 kHz tone

I would like to measure the phase difference of a 100 kHz tone. The tone is transmitted and then received. The received tone is sampled using an 1 MHz 12 bit ADC(IQ) and the SNR is at least 35 dB. ...
0
votes
3answers
95 views

Interpretation of sample rate

I'm a little confused about the sample rate: If I have an audio file that was recorded with a sample rate of 48kHz, this means that there are 48,000 values per second in this file, right? So when I ...
4
votes
5answers
234 views

Reconstructing/interpolating small regions of a bandlimited signal by taking the fewest possible samples

I have a signal which is bandlimited and can be sampled at arbitrary continuous positions. The value at any position is given by an expensive computation. I need to do some further computation on ...
0
votes
1answer
28 views

Doubt in Frequency Modulation code

While searching for something FM, I came across this code. I am not able to understand a particular line of code. I have written a comment against that line of code. ...
0
votes
1answer
428 views

IQ Sampling and Oversampling Differences? *Confused*

Two different thought process that produce two different alias band calculations .... What concepts are these? If I have two 1 GHz ADC's and they sample with 90 degree offset (A comment said this is ...
0
votes
1answer
434 views

How to make low pass filter using frequency sampling method?

https://www.allaboutcircuits.com/technical-articles/design-of-fir-filters-using-frequency-sampling-method/ So there is two main equation: I wish to filter out frequency $\le 10000Hz$, for example. So ...
0
votes
1answer
50 views
0
votes
0answers
143 views

removing noise using Scipy.signal.butter:

I am going to remove the noise from a brain recorded signal. It was a continuous recording and with sample rate=30kHz, it was digitized. So now it is a digital signal. I have written the code here ...
0
votes
1answer
150 views

Trouble with understanding moving average filter as an oversampling filter

I am struggling with understanding how an moving average filter can increase ENOB in a given sample. I wrote a test for a simple MA (moving average) filter in matlab. The algorithm to create new MA ...
0
votes
1answer
752 views

sampling a continuous time signal using MATLAB?

I have a continuous time signal $x(t)=cos(2 πft)$ where $0\leq t \leq 2$. I want to plot discrete time signal $x(n)$ where $0 \leq n \leq 19$ for sampling frequency 100 Hz and signal frequency 10 Hz. ...
1
vote
1answer
101 views

Torque signal fft

I have the following torque signal picked up with a 10.240Hz sampling rate from a testbench. I am studying its fft which I create on Octave with the following code: ...
0
votes
2answers
316 views

Why is the digital frequency highest at $\pi$ and what does it mean in terms of analog frequency? [duplicate]

I can't seem to comprehend why the digital frequency is highest at $\pi$. I know the relationship between the digital and analog frequency is given by: $$\omega = 2\pi\frac{F}{F_s}=2\pi f$$ Where $F$ ...
0
votes
1answer
75 views

Build an inverse model for a train of gaussian pulses

I have a stationary signal from a train of Gaussian pulses. My sampling window is too wide (cannot be reduced). In the example 1 ms. So it is not possible to clearly distinguish one pulse from another....
1
vote
1answer
207 views

relation between DFT to CTFT

The signal $$x(t)\;\;\;\;0\leq t\leq 0.2s $$ We know that the CTFT of $x(t)=0$ when $|w|>2*\pi*10^4$ We sample $x(t)$ in sample space of $$T=25\mu s$$ or $$F_s=1/T=40000Hz$$and we get a series ...
0
votes
2answers
65 views

find the maximum of the DFT of sampled signal

The signal $$x(t)=\cos(10\pi t+\phi)+\cos(20\pi t)$$ is sampled with a sampling frequency $F_s$ as $25 \mathrm{Hz}$ where the phase $\phi$ is unknown. Sampling the continuous time signal $$y[n]=x(nT)$...
1
vote
3answers
220 views

Poisson summation formula and periodic summation of Fourier transforms

One of the forms of the Poisson summation formula is $$ \sum_{n=-\infty}^{\infty} T\cdot x(nT)\ e^{-i 2\pi f T n}\; {=} \; \sum_{k=-\infty}^{\infty} X\left(f - k/T\right),$$ where $x(nT)$ are ...
1
vote
1answer
122 views

Discrete time aperiodic signal: Concept of frequency?

Is concept of frequency to a-periodic signal whether it is continuous or discrete time is valid? I am bit confused, since discrete time sinusoids have frequency $-\pi<\omega<\pi$ or $-\frac{1}{...
1
vote
1answer
237 views

Choosing right cut-off frequency for a LP filter in upsampler

I'm implementing a upsample function in Matlab but it's not perfect right now,for reasons I'm not sure. Here is my code: ...

1 2 3
4
5
18