Sampling a continuous-time signal means representing it as a sequence of points measured at regular intervals T. Notice that if we were to take a signal x(t) and multiply it by an impulse train, then we would get a series of impulses equal to x(t) at the sampling points and 0 everywhere else. We can call this signal xp(t).
What this tells us is that the Fourier Transform of our sampled signal is a series of copies of X(ω), each centered at kω0 where ω0=T2π For example, lets say that our original signal has the following Fourier Transform. Notice the signal is band-limited by ωM.
There are two major cases: if ω0>2ωm and ω0<2ωM. Case One:ωs>2ωm
When ωs>2ωM, the shifted copies of the original X(ω) (shown in blue) do not overlap with each other or which the original copy. If we wanted to recover the original signal, we could simply apply a low pass filter to isolate the unshifted copy of X(ω) and then take the inverse Fourier Transform. Case Two:ωs<2ωm
Notice how in this case, the shifted copies overlap with the original X(ω). This means in our sampled signal, the higher frequency information is bleeding in with the lower frequency information. This phenomenon is known as aliasing. When aliasing occurs, we cannot simply apply a low pass filter to isolate the unshifted copy of X(ω).
When ω0=2ωM, then our ability to reconstruct the original signal depends on the shape of its Fourier Transform. As long as Xp(kωm) are equal to X(ωm) and X(−ωm), then we can apply an LPF because we can isolate the original X(ω) and take its inverse Fourier Transform.
Remember that an ideal low pass filter is a square wave in the frequency domain and a sinc in the time domain. Thus if we allow
Xr(ω)=Xp(ω)⋅{T0if ∣ω∣<2ωselse
then our reconstructed signal will be
xr(t)=xp(t)∗sinc(Tt)=∑n=−∞∞X(nT)sinc(Tt−nT).
This is why we call reconstructing a signal from its samples "sinc interpolation." This leads us to formulate the Nyquist Theorem.
Theorem 18 (CT Nyquist Theorem)
Suppose a continuous signal x is bandlimited and we sample it at a rate of ωs>2ωM, then the signal xr(t) reconstructed by sinc interpolation is exactly x(t)
Discrete Time
Sampling in discrete time is very much the same as sampling in continuous time. Using a sampling period of N we construct a new signal by taking an impulse train and multiplying elementwise with the original signal.
Our indices only go from k to N−1 in the Fourier Domain because we can only shift a particular number of times before we start to get repeated copies. This is the impulse train sampled signal. It has 0’s at the unsampled locations. If we want to, we could simply remove those zeros and get a downsampled signal
xp[n]=x[Nn]
Like in continuous time, the reconstructed signal is recovered via sinc interpolation.
xr[n]=∑k=−∞∞xp[n]sinc(Nn−kN)
The Nyquist Theorem in DT will tell us when this works.
Theorem 19 (DT Nyquist Theorem)
Suppose a discrete signal x is bandlimited by Nπ and we sample it at a rate of ωs>2ωM, then the signal xr[n] reconstructed by sinc interpolation is exactly x[n]
Thus as long as the Nyquist Theorem holds, we can take a downsampled signal and upsample it (i.e reconstruct the missing pieces) by expanding y by a factor of N and putting 0′s for padding, and then applying sinc-interpolation to it.
Sampling as a System
Notice that we have two ways of representing our sample signal. We can either write it as a discrete time signal xd[n]=x(nT) or we can write it as an impulse train xp(t)=∑−∞∞x(nT)δ(t−nT). Based on their Fourier Transforms,
Thus if we let Ω=ωT, then we see that these two representations of a signal have the same Fourier Transforms and thus contain the same information. This means that for some continuous signals, convert them to discrete time via sampling, use a computer to apply an LTI system, and convert the result back to a CT output.
We must be careful though because as long as the DT system we apply is LTI, the overall CT system will be linear too, but it will not necessarily be time invariant because sampling inherently depends on the signal’s timing.
This shows us that as long as the Nyquist theorem holds, we can process continuous signals with a disrete time LTI system and still have the result be LTI.