# Questions tagged [sampling]

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

809 questions
Filter by
Sorted by
Tagged with
1k 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 ...
280 views

### Sound quality with really high sampling rate, but really low bit depth with dithering?

This question is probably more for fun and theory, but how will the sound quality be, if you create a sound with really high sampling rate (like 192kHz) and really low bit depth (e.g. 3bit)? Can you ...
1k views

### 12 bit ADC to 8 bit DAC

A bit of background information: I plan to start experimenting with digital signal processing on microcontrollers. The particular microcontroller I plan to use (TI Stellaris LM4F230H5QR, from the ...
311 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 ...
161 views

### How would you interpret the pattern in this picture? (generated by re-sorting pixels based on their RGB value)

Was playing with some pictures and ran the ruby code below. The code reads an input image using the ImageMagick library, gets an array of pixels, re-sorts the pixels and then writes out an image with ...
727 views

### Periodicity of sum of discrete signals

In my lecture slides for school and from this website here "The sum $z[n] = x[n] + y[n]$ of periodic signals $x[n]$ with fundamental period $N1$, and $y[n]$ with fundamental period $N2$ is periodic ...
4k views

### Sampling frequency of modulated signal

A very naive question... A signal with bandwidth of 20 MHz is modulated using a carrier of 1 GHz. What will be the sampling frequency? I was asked this question during an interview. I answered 2 GHz ...
235 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. ...
158 views

### How do MATLAB and/or Python treat $2^n$ samples rule in FFT

As far as I have read, an FFT requires that the number of original data points must be a power of 2. I'm wondering whether the tools like MATLAB or Python which have FFT functions take care of this ...
228 views

### Philosophy of perfect inter-sample interpolation

How would you define perfect (inter-sample) interpolation, and is it possible? To quote Armifinn's prior answer: "I guess the most important result is that for signals with bandwidth limitation, ...
3k views

### Relation between the DTFT and the spectrum of a sampled signal

In the $\rm DTFT$ (Discrete Time Fourier Transform) the spectrum is periodic with period of $2\pi$ . A continuous signal when sampled has a spectrum which is a repeated version of its original ...
141 views

### Unexpected Result When Using Sinc Interpolation

blue is how I tried to sinc interpolate. why would something like this happen?
242 views

1k views

419 views

### Plotting the discrete time signal

Consider the following analog signal $$x(t) = 2 \sin(100\pi t)$$ The signal $x(t)$ is sampled with a sampling rate $F_s=50\textrm{Hz}$. Determine the discrete time signal. Plot the discrete time ...
2k 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, ...