IAE Academy

FOUNDATION · CHAPTER 7 OF 8

Sampling from first principles

Sampling at a steady rate copies a spectrum at every multiple of the sampling frequency. This chapter derives it, shows aliasing as two tones with equal samples, derives the ideal sinc kernel and links analog to digital frequency. These facts set how fast a converter must sample.

Updated 12 Oct 2026

What you will be able to do

You will show that sampling copies the spectrum of a signal at every multiple of the sampling frequency, and say exactly when the copies overlap. You will see aliasing as two different sinusoids that give identical samples. You will derive why the sinc is the ideal interpolation kernel. You will convert between analog frequency and digital frequency through .

Before you start

  1. Chapter 6, From series to transform: one family, five names

  2. The Fourier transform, its inverse with the factor , and linearity

  3. The exponential Fourier series; the unit impulse and sifting; and

  4. Euler's formula; for integer ;

Sampling copies the spectrum

Sampling means keeping the values of only at . The samples form the list . The cleanest way to describe that is to multiply by a train of unit impulses spaced apart. Multiplication in time is convolution in frequency, so the question becomes: what is the spectrum of the impulse train? Here is the sampling period, and . (The z-transform notes write for .)

THE SAMPLED SIGNAL

Holds for any continuous at each ; is an integer and is in s. The impulse at has weight , because .

SPECTRUM OF THE IMPULSE TRAIN

has period , so its Fourier series has , and is an integral over any one period. On the train is just , and sifting gives . By linearity, transform the series term by term with . Units: , in rad/s, in s.

SPECTRUM OF THE SAMPLED SIGNAL

Holds for any with transform . The cancels the in ; convolving with shifts by . If for (rad/s; Hz), the copies stay apart when : , or . Without a band limit, no finite guarantees this.

Read the result as a picture in words. Each copy is the original spectrum, scaled by . One copy sits around and an identical one around every multiple of . When the copies do not touch, the baseband copy can be cut out by a filter, and is recovered. When they overlap, they add, and the baseband is corrupted.

WATCH OUT FOR

Do not take as enough. Test: sample at Hz. Every sample is , so the tone vanishes, while survives. The outcome depends on phase, so only works for every signal.

Aliasing seen in the time domain

The overlap of copies has a direct time-domain meaning. Samples are only numbers. Two different sinusoids that take the same value at every cannot be told apart from their samples. Adding to a frequency changes the argument at the samples by a multiple of , which changes nothing.

TWO TONES WITH THE SAME SAMPLES

Holds for every integer and , since ; in rad/s, in rad. Cosine is even, so with phase gives the same samples. So a tone at matches tones at and, phase reversed, at . Steps of bring into ; a sign flip puts it in , its apparent frequency.

WORKED EXAMPLE

A 700 Hz cosine is sampled at 1000 Hz. Find the lowest-frequency cosine with the same samples.

Solution
  1. ms, so the samples are : the hertz and the seconds cancel.

  2. Write : . The term is a whole number of turns, so dropping it leaves the cosine unchanged: .

  3. Cosine is even, so ; the phase is zero, so there is no phase to reverse.

  4. Hz lies in Hz, so it is the apparent frequency.

Answer: 300 Hz.

Reconstruction and the sinc

Reconstruction means building a continuous signal from the samples: put a copy of one pulse shape at each sample time, scaled by the sample value. In frequency, that is the sampled spectrum multiplied by . For perfect recovery, must keep the baseband copy and remove every other copy. That decides . Below, , with .

INTERPOLATION AS FILTERING

is the reconstructed signal and the transform of . Convolving with gives , so and . Take for and elsewhere: it keeps only the copy, and the gain cancels its , so when .

THE IDEAL KERNEL

Valid for ; at the integral gives directly, matching . This is the inverse transform of , whose cut-off is rad/s; is in s. By Euler's formula, the integral of over the band is .

THE RECONSTRUCTION FORMULA

Holds when for and . At a sample time ( an integer) the term is , and every other term is , because its sine is . So the curve passes through every sample, and between samples the neighbouring sincs fill in the values.

The sinc is ideal in the sense that its spectrum is flat over the baseband and exactly zero outside. It is also not buildable: it extends over all , so it needs samples that have not arrived yet (it is non-causal). Real converters use shorter pulses and accept some error.

WORKED EXAMPLE

Samples at ms are , and zero elsewhere. Find the ideal reconstruction at ms.

Solution
  1. Only two samples are non-zero, so the sum has two terms: .

  2. At ms, and : the milliseconds cancel.

  3. , since the sign cancels.

  4. Total: .

Answer: , in the same units as the samples.

From analog to digital frequency

The sampled signal has a second description: the list and its DTFT , where is in rad/sample and has period . (The DTFT notes write lower-case for this same .) and are different functions: the first is the DTFT of , the second the transform of , and the argument shows which is meant. Take the transform of term by term and the two descriptions meet.

DIGITAL FREQUENCY FROM ANALOG FREQUENCY

Uses the transform of , which is . is in rad/sample, in rad/s, in s, and in Hz. gives , where changes sign fastest. gives : one period of maps onto one period of .

THE DTFT FROM THE ANALOG SPECTRUM

Put in the sampled spectrum: since , . It holds wherever that spectrum holds. on the right is the transform of , its argument in rad/s. If for , the copies are separate when , which is again.

WORKED EXAMPLE

A digital filter has cut-off rad/sample and runs on data sampled at kHz. What analog cut-off does it have? A tone reaches the sampler with no filter in front of it: at what frequency does it appear?

Solution
  1. From , , so .

  2. Hz.

  3. The tone has rad/sample; the kilohertz cancel.

  4. repeats every , so . Cosine is even, so : the apparent value is .

  5. That is Hz, so the tone is aliased to kHz.

Answer: The cut-off is kHz, and the kHz tone appears as kHz.

WATCH OUT FOR

and are different quantities. Test: check units. is in rad/s and belongs to the signal; is in rad/sample, so the same tone gets a new when changes, and always has period .

Check yourself

CHECK YOURSELF 1

The signal is sampled at kHz. Which zero-phase cosine of lower frequency gives the same samples?

  1. (A)

    5 kHz is already the lowest

  2. (B)

    3 kHz

  3. (C)

    13 kHz

  4. (D)

    1 kHz

Answer and solution

Answer: (B)

  1. Zero-phase tones at share samples.

  2. kHz, and lies in kHz.

  3. So the apparent frequency is kHz.

CHECK YOURSELF 2

A signal is sampled at kHz. What is the digital frequency , in rad/sample, of a kHz tone?

Answer and solution

Answer: (accepted range )

  1. .

  2. .

  3. rad/sample.

CHECK YOURSELF 3

Samples are taken at kHz. An ideal reconstruction filter must recover every signal band-limited below . What cut-off frequency must it have?

  1. (A)

    5 kHz

  2. (B)

    10 kHz

  3. (C)

    2.5 kHz

  4. (D)

    20 kHz

Answer and solution

Answer: (A)

  1. A signal may have content just below , so a cut-off below would remove part of it.

  2. For such a signal, the copy around starts just above , so a cut-off above would pass part of that copy.

  3. Only kHz meets both.

CHECK YOURSELF 4One or more options are correct

Every signal with for rad/s must be recovered exactly from its samples by ideal sinc interpolation. Which sampling rates achieve this?

  1. (A)

    4 kHz

  2. (B)

    6 kHz

  3. (C)

    6.5 kHz

  4. (D)

    10 kHz

Answer and solution

Answer: (C), (D)

  1. The copies stay apart for every such signal only when kHz.

  2. At kHz, the copy around kHz covers to kHz, so it overlaps any baseband content above kHz. At exactly kHz a kHz sine gives at every sample, so it is lost.

  3. kHz and kHz both exceed kHz, so C and D.

Used in these GATE topics