Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 28

Relating Continuous and Discrete Frequencies

Recommended resources

Hello! Welcome back to our journey from the analog to the digital realm.

In our last lesson, we moved from the idealized theory of sampling to the world of practical engineering. We established the necessity of anti-aliasing and reconstruction filters, the analog "gatekeepers" that manage the transition between continuous and discrete signals. We saw how the spectrum of a sampled continuous-time signal, , consists of replicas of the original signal's spectrum, centered at multiples of the sampling frequency, .

Today, we will formalize the crucial link between the two worlds of frequency analysis. Our goal is to derive the precise mathematical relationship between the continuous-time frequency, (measured in radians per second), and the discrete-time frequency, (measured in radians per sample). This relationship is the cornerstone of all digital signal processing, as it allows us to interpret the spectrum of a discrete sequence of numbers in terms of the physical frequencies of the original analog signal.

1. Two Worlds, Two Frequencies

Before we can connect them, we must clearly define our two frequency domains.

The Continuous-Time Perspective: Spectral Replicas

As a brief recap, when we sample a continuous-time signal , we can model this process as multiplying it by an impulse train. In the frequency domain, this results in the original signal's spectrum, , being replicated at every integer multiple of the sampling frequency, .

The following video segment provides a quick visual reminder of this phenomenon.

Continuous Time and Discrete Time Fourier Transforms

Let's begin with a review of what sampling does to a signal in the continuous-time frequency domain. The video 'Continuous Time and Discrete Time Fourier Transforms' by Iain Explains Signals, Systems, and Digital Comms offers a clear illustration.

Please watch from the beginning to 02:04. Focus on the distinction between the original signal's spectrum, X(j\Omega), and the spectrum of the sampled signal, X_s(j\Omega), which contains repeating copies.

This spectrum, , still uses the continuous-time frequency variable in radians per second.

The Discrete-Time Perspective: A Normalized, Periodic World

Once we have our sequence of samples, , we can treat it as a purely mathematical, discrete-time signal. We analyze its frequency content using the Discrete-Time Fourier Transform (DTFT), which gives us .

A fundamental property of the DTFT is that it is always periodic with a period of . The frequency variable is a normalized angle, typically considered over the range or . Its units are radians per sample.

But why is it periodic? The reason is that discrete-time complex exponentials, , are only unique over a interval of . A frequency of is indistinguishable from a frequency of for any integer .

The same video explains this essential property both mathematically and visually. Given your background, the mathematical derivation will be particularly satisfying.

Continuous Time and Discrete Time Fourier Transforms

Now, let's understand the nature of the discrete-time frequency domain. The same video provides an excellent explanation for the 2\pi-periodicity of the DTFT.

Please watch from 02:04 to 06:03. First (02:04 - 04:47), follow the proof showing that cos(ω₀n + 2πn) is identical to cos(ω₀n) for integer n. This is the mathematical heart of periodicity. Then (04:47 - 06:03), observe the visual demonstration. It shows how two different continuous-time sinusoids can produce the exact same set of samples, illustrating why high frequencies 'alias' to lower frequencies in the discrete domain.

So, we have two representations for the frequency content of our sampled signal:

  1. Continuous: , which is periodic with period .
  2. Discrete: , which is periodic with period .

Since both describe the same information, there must be a direct relationship between them.


2. Deriving the Relationship: The Formal Bridge

The derivation relies on a direct comparison of the defining equations for the CTFT of the impulse-sampled signal and the DTFT of the resulting sequence.

The resource below provides a concise mathematical derivation that formalizes this comparison.

1. Working Between Continuous and Discrete Time

The document 'Working Between Continuous and Discrete Time' from Carnegie Mellon University provides a direct and elegant derivation of the frequency relationship. We will walk through its logic.

Please read the short section 'Relating continuous-time and discrete-time frequency' (equations 1.8 through 1.11). The core of the argument is comparing the final expression for the DTFT with the final expression for the CTFT of the sampled signal.

Let's break down the key steps from that derivation:

  1. Start with the DTFT: The DTFT of the discrete sequence is defined as:

    Since is obtained by sampling the continuous signal at intervals of , we have . Substituting this gives:

  2. Move to the CTFT: The impulse-sampled continuous signal is . Its CTFT is defined as:

    By swapping the integral and summation and using the sifting property of the delta function (), we get:

  3. Compare the Results: Now, look closely at equations and . They describe the same spectral shape but are expressed in terms of different frequency variables, and .

    • Equation :
    • Equation :

    The two expressions become identical if we set the exponents equal to each other:

    This simplifies to the fundamental relationship:


3. Interpreting the Frequency Scaling

The equation is more than just a formula; it's a scaling factor that maps the entire continuous frequency axis onto the normalized discrete frequency axis.

Let's check the units, as this often clarifies the meaning:

The units match perfectly, confirming that is a measure of phase change per sample.

The video you watched earlier concludes with an excellent intuitive summary of this scaling relationship.

Continuous Time and Discrete Time Fourier Transforms

Let's revisit Iain's explanation to see an intuitive visualization of this scaling.

Please watch from 06:03 to 09:08. The key insight here is that the period in the continuous frequency domain, \Omega_s, must map to the period in the discrete frequency domain, 2\pi, and the relationship \omega = \Omega T is the scaling factor that makes this happen.

Mapping Key Frequencies

Let's see how this scaling maps critical points on the frequency axis:

  • DC (Direct Current): For rad/s, the discrete frequency is . As expected, zero frequency maps to zero frequency.
  • Nyquist Frequency: The highest unambiguous frequency in the continuous domain is the Nyquist frequency, . Let's see where it maps: This is a profound result: the edge of the baseband in the continuous-time spectrum maps precisely to in the discrete-time spectrum. The entire unique frequency range of the sampled signal, , is mapped to the discrete frequency range .
  • Sampling Frequency: The continuous sampling frequency is . This maps to: This confirms our intuition: the replication interval in the domain () becomes the fundamental period in the domain ().

This diagram illustrates the mapping from the continuous frequency axis () to the discrete frequency axis (). The primary interval in the continuous domain, representing the unique spectral content, is scaled to fit the interval in the discrete domain.

Test your understanding!

A signal containing a pure sinusoidal tone at a frequency of 4 kHz is sampled at a rate of 48 kHz.

  1. What is the continuous-time frequency of the tone in rad/s?
  2. What is the sampling period ?
  3. What is the resulting discrete-time frequency of the tone in rad/sample?
  4. Another continuous-time tone at 52 kHz is present in the signal. What discrete-time frequency does it map to? How does this relate to your answer for question 3?
Show answer
  1. The continuous-time frequency in Hertz is Hz. The frequency in rad/s is rad/s.
  2. The sampling period is the inverse of the sampling rate: s.
  3. Using our derived relationship:
  4. For the 52 kHz tone, rad/s. Its discrete-time frequency is: Because the DTFT is -periodic, the frequency is indistinguishable from . This is a perfect example of aliasing. The 52 kHz tone, which is above the Nyquist frequency of 24 kHz, has aliased down and appears as the same discrete frequency as the 4 kHz tone.

Conclusion

In this lesson, we have formally established the fundamental bridge between the continuous and discrete frequency domains. By comparing the Fourier transforms of a sampled signal from both perspectives, we derived the simple but powerful scaling relationship .

Key Takeaways:

  • The spectrum of a continuous-time signal sampled with an impulse train, , is periodic with period .
  • The Discrete-Time Fourier Transform (DTFT) of the resulting sequence, , is always periodic with period .
  • The relationship between the two frequency variables is a linear scaling: .
  • This relationship maps the unique continuous-time frequency interval onto the discrete-time frequency interval .

Preview of the Next Lesson:

The sampling theorem we've discussed so far assumes we are interested in low-pass signals, where the frequency content starts at DC. But what if we want to sample a signal that is already band-limited but centered around a high carrier frequency, like an AM radio signal? Sampling at twice the highest frequency would be incredibly inefficient. In our next lesson, we will explore a powerful extension of sampling theory by deriving and applying the bandpass sampling theorem, which allows for efficient sampling of such signals.