Skip to content
GATEiit

GATE EC · Networks, Signals and Systems

Sampling and reconstruction

What sampling does to a spectrum, aliasing and alias frequencies, ideal (sinc) reconstruction, the zero-order hold and flat-top sampling with their aperture effect, and bandpass sampling.

Before you start

  • Nyquist sampling theorem →

    The minimum rate 2fm is the starting point; this topic shows what happens at, above and below it.

  • Fourier transform →

    Sampling is multiplication in time, so it becomes periodic repetition of the spectrum.

  • Convolution →

    Reconstruction filters and the hold circuit act by convolution with their impulse responses.

Concept notes

1. Ideal sampling replicates the spectrum

Ideal (impulse) sampling multiplies x(t) by an impulse train of period T=1/fs:

xs(t)=∑nx(nT) δ(t−nT)

Multiplication in time is convolution in frequency, and the impulse train transforms to fs∑kδ(f−kfs). So

Xs(f)=fs∑k=−∞∞X(f−kfs)

The spectrum is copied at every multiple of fs and scaled by fs.

If x(t) is band-limited to fm:

  • fs>2fm: copies are separated by a guard band fs−2fm.
  • fs=2fm (Nyquist rate): copies just touch; recovery needs an ideal brick-wall filter.
  • fs<2fm: copies overlap. This is aliasing, and it cannot be undone after sampling.

A pure sinusoid at exactly fs=2f0 is a special case: the samples may all be zero (for a sine sampled at its zero crossings). So for tones the condition is strictly fs>2f0.

fideal LPF, gain T, cutoff fc0fmfs − fmfs−fsXs(f) = fs Σ X(f − k·fs): no overlap if fs ≥ 2fm; choose fm ≤ fc ≤ fs − fm
Spectrum after ideal sampling: copies of X(f) at multiples of fs; an ideal low-pass filter keeps only the copy at 0

2. Aliasing and alias frequencies

A tone at f0 sampled at fs gives exactly the same samples as a tone at ∣f0−kfs∣ for any integer k. After an ideal low-pass filter with cutoff fs/2, the output frequency is the copy that falls in [0,fs/2]:

falias=∣f0−kfs∣,k chosen so that falias≤fs/2

Examples with fs=10 kHz: 7 kHz→3 kHz; 12 kHz→2 kHz; 4 kHz→4 kHz (no aliasing).

Phase of the alias. cos⁡(2πf0nT) equals cos⁡(2π(f0−fs)nT), and cosine is even, so a cosine aliases to a cosine with the same phase. A sine changes sign when it folds (f0−fs<0). If the alias lands on an existing tone, the amplitudes add (with sign).

Prevention. An anti-aliasing filter (analog low-pass) before the sampler removes components above fs/2. Since real filters roll off gradually, systems sample above the Nyquist rate to leave a guard band.

Bandpass sampling. A signal confined to [fL,fH] with bandwidth B=fH−fL can be sampled below 2fH. With k=⌊fH/B⌋, the minimum alias-free rate is

fs,min=2fHk

If fH is an integer multiple of B, this equals 2B.

3. Ideal reconstruction

To recover x(t), pass the impulse samples through an ideal low-pass filter that keeps the baseband copy and removes the rest.

Filter requirements:

  • Gain T (to undo the fs scale factor).
  • Cutoff fc anywhere in the guard band: fm≤fc≤fs−fm.

The filter's impulse response is h(t)=2fcT sinc(2fct). With fc=fs/2 this is sinc(t/T), and the output is the sinc interpolation formula:

x(t)=∑n=−∞∞x(nT) sinc ⁣(t−nTT),sinc(u)=sin⁡πuπu

Each sample launches a sinc pulse that is 1 at its own instant and 0 at every other sample instant, so the samples are reproduced exactly and the gaps are filled in.

Why practical systems oversample. The ideal filter is non-causal and cannot be built. Sampling faster widens the guard band, so a realisable filter with a gradual roll-off can separate the copies.

Output of an ideal reconstruction filter when aliasing occurred: the output is the sum of all components that land in [0,fc], including aliases. Questions often ask exactly this.

4. Practical sampling and the zero-order hold

Real systems use finite-width pulses, not impulses.

Natural sampling. Multiply x(t) by a train of pulses of width τ; the pulse tops follow x(t). Each spectral copy is scaled by a constant (τT sinc(kτ/T) for the k-th copy), so the baseband copy is undistorted. A low-pass filter still recovers x(t).

Flat-top sampling (sample-and-hold). Each sample is held constant for τ. This equals ideal sampling followed by a filter with impulse response a rectangle of width τ:

H(f)=τ sinc(fτ) e−jπfτ

The baseband copy is multiplied by sinc(fτ): higher frequencies are attenuated. This is the aperture effect. Fix it with an equaliser of response proportional to 1/sinc(fτ) in the band of interest, or keep τ≪T.

Zero-order hold (ZOH) is the case τ=T, used in DACs:

Property ZOH
Magnitude T ∣sinc(fT)∣
Delay T/2 (linear phase)
Nulls at f=kfs, k≠0
Droop at fs/2 sinc(0.5)=2/π, about −3.92 dB

The ZOH passes some energy from the spectral copies (staircase steps), so a smoothing filter follows it.

Formulas to remember

Spectrum of the sampled signal
Xs(f)=fs∑k=−∞∞X(f−kfs)
No-aliasing conditionStrictly greater for a pure tone
fs≥2fm
Alias frequency
falias=∣f0−kfs∣≤fs2
Reconstruction filter cutoffGain T=1/fs
fm≤fc≤fs−fm
Sinc interpolation
x(t)=∑nx(nT) sinc ⁣(t−nTT)
Flat-top / hold responseZOH: τ=T
H(f)=τ sinc(fτ) e−jπfτ
Bandpass sampling minimum rate
fs,min=2fH⌊fH/B⌋

Common mistakes

  • Reporting the original frequency at the filter output when the tone was above fs/2; find the alias inside [0, fs/2].
  • Forgetting that an alias landing on an existing component adds to it.
  • Setting the reconstruction filter cutoff above fs − fm, which lets part of the first spectral copy through.
  • Assuming sampling exactly at 2f0 always recovers a pure tone; a sine sampled at its zero crossings gives all-zero samples.
  • Calling the zero-order hold droop aliasing; it is amplitude distortion (aperture effect) and an equaliser can correct it.
  • Applying the low-pass Nyquist rate 2fH to a bandpass signal when the question allows bandpass sampling.

Worked examples

Try each step yourself, then reveal the working.

Example 1: Two tones, one alias

numerical

x(t)=cos⁡(2π⋅300t)+cos⁡(2π⋅700t) is ideally sampled at fs=1 kHz and passed through an ideal low-pass filter of gain T and cutoff 500 Hz. Find the output.

  1. Step 1: Is the sampling rate enough?

    Try it on paper first.

Example 2: Guard band and filter cutoff

numerical

A signal band-limited to 4 kHz is sampled at 10 kHz. Find the guard band and the range of cutoff frequencies for an ideal reconstruction filter.

  1. Step 1: Where does the first copy start?

    Try it on paper first.

Example 3: Zero-order hold droop

numerical

A DAC with a zero-order hold runs at fs=8 kHz. By how many dB is a 3 kHz tone attenuated relative to dc?

  1. Step 1: Write the relative ZOH magnitude.

    Try it on paper first.

Example 4: Bandpass sampling

numerical

A signal occupies 20 to 25 kHz. Find the minimum sampling rate that avoids aliasing, and compare with 2fH.

  1. Step 1: Find $B$ and $k$.

    Try it on paper first.

Previous year questions

2 official GATE EC questions on this topic, newest first.

Topic test

10 questions: up to 2 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.

Mark as mastered

Loading your progress…

My revision notes

Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-28. Spotted a mistake? Use Report an issue on any question, or contact us.