Signal Module
Signal Module
INSTITUTE OF TECHNOLOGY
By Belaineh Eskezia
March-10-2023
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Contents
Chapter 1 Fundamentals of Signals ............................................................................................................ 1
1.6.4 Differentiation............................................................................................................................. 19
Graphical Convolution......................................................................................................................... 30
4.4 Examples............................................................................................................................................ 53
5.5 Examples............................................................................................................................................ 65
6.2.4 What is the minimum sampling rate such that there is no aliasing? ........................................... 72
6.4.2 If Xp(t) has aliasing, can I still recover x(t) from xp(t) ? ........................................................... 75
6.4.3 What can I do if my sampling device does not support a very high sampling rate? .................. 76
Signal and Systems Analysis Lecture Note prepared for Exit Exams
e.g.; In a communication system the input signal could be a speech signal or computer data. The system
itself is made up of the combination of a transmitter, channel and a receiver. The output signal is an
estimate of the information contain in the original message
The examples of other systems are control systems, biomedical signal processing system, audio system,
remote sensing system, microelectronic mechanical system etc.
1
Signal and Systems Analysis Lecture Note prepared for Exit Exams
In some applications, signals are generated by multiple sources or multiple sensors. Such signals can be
represented in vector form and we refer such a vector of signal as a multichannel signal.
E.g.; In electrocardiography, 3-lead & 12-lead electrocardiograms (ECG) are often used, which result in
3-channel & 12-channel signals.
One dimensional: If the signal is a function of a single independent variable, the signal is called 1-D
signal. e.g.; Speech signal
Multidimensional signal: Signals can be functions of more than one variable, e.g., image signals
(2D),Colour image (3D), etc
2
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Example For each of the following signals, determine whether it is periodic or aperiodic. If periodic, find
the period
I. x(t) = 5 sin(2πt)
II. x(t) = 1 +cos(4t +1)
III. x(t) = e-2t
𝜋
IV. x (t)= 𝑒 𝑗(5𝑡+ 2 )
π
V. x(t) = ej(5t+ 2 )𝑒 −2𝑡
3
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Proposition Let continuous-time signals x1(t) and x2(t) be periodic signals with fundamental periods T1
and T2, respectively. The signal x(t) that is a linear combination of x1(t) and x2(t) is periodic if and only if
there exist integers m and k such that mT1 =kT2 and
The fundamental period of x(t) is given by mT1 = kT2 provided that the values of m and k are chosen such
that the greatest common divisor (gcd) between m and k is 1.
Example For each of the following signals, determine whether it is periodic or aperiodic. If periodic, find
the period.
4
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Any signal can be expressed as sum of its even and odd parts as
5
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Figure (a) Causal signal, (b) noncausal signal, (c) anticausal signal
E = ∫ 𝑥 2 (𝑡)𝑑𝑡
−ꝏ
for a complex valued signal
ꝏ
E = ∫ |𝑥 2 (𝑡)|𝑑𝑡
−ꝏ
Since the power is the time average of energy, the average power is defined as
𝑇
2
1
p = lim ∫ 𝑥 2 (𝑡)𝑑𝑡
𝑇→∞ 𝑇
−𝑇
2
In the case of a discrete-time signal x[n], the integrals in above equations are replaced by corresponding
sums. Thus, the total energy of x[ n] is defined by
6
Signal and Systems Analysis Lecture Note prepared for Exit Exams
A signal is referred to an energy signal if and only if the total energy is finite .i.e.,
0<E<∞
A signal is referred to an power signal if and only if the average power is finite .i.e.,
0<P<∞
Note: Energy signal has zero time average power and power signal has infinite energy
Example check if x(t) defined below is an energy signal or not
Solution
The energy of the signal is given by
Solution . The signal is periodic with period 2. Hence, averaging x2(t) over infinitely large time interval is
the same as averaging over one period, i.e., 2. Thus, the average power P is
7
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Example Compute energy and power for the following signals, and determine whether each signal is energy
signal, power signal, or neither
8
Signal and Systems Analysis Lecture Note prepared for Exit Exams
9
Signal and Systems Analysis Lecture Note prepared for Exit Exams
10
Signal and Systems Analysis Lecture Note prepared for Exit Exams
In discrete time, it is common practice to write a real exponential signal as x[n] = Brn
11
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Fig: Growing exponential for r > 1 Decaying exponential for 0 < r <1
The continuous-time version of the unit impulse is defined by the following pair of relations:
12
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Above equation says that the impulse δ (t) is zero everywhere except at the origin. Equation says that
the total area under the unit impulse is unity. The impulse δ (t) is also referred to as the Dirac delta
function.
The delta function can be evolved as the limit of the rectangular pulse
implying that multiplication of a continuous-time signal and an impulse function produces an impulse
function, which has an area equal to the value of the continuous-time function at the location of the impulse.
Also, it follows that for t0 = 0,
Shifting property
Scaling property
The unit impulse function can be obtained by taking the derivative of the unit step function as follows:
The unit step function is obtained by integrating the unit impulse function as follows:
13
Signal and Systems Analysis Lecture Note prepared for Exit Exams
14
Signal and Systems Analysis Lecture Note prepared for Exit Exams
15
Signal and Systems Analysis Lecture Note prepared for Exit Exams
If t0 >0, the time shift is known as “delay”. If t0 < 0, the time shift is known as “advance”.
Example. In Fig. given below, the left image shows a continuous-time signal x(t). A time- shifted version
x(t- 2) is shown in the right image.
16
Signal and Systems Analysis Lecture Note prepared for Exit Exams
1.5.2Time Reversal
If a > 1, the time scale of the resultant signal is “decimated” (speed up)
If 0 < a < 1, the time scale of the resultant signal is “expanded” (slowed down)
17
Signal and Systems Analysis Lecture Note prepared for Exit Exams
18
Signal and Systems Analysis Lecture Note prepared for Exit Exams
y(t)=k𝑑𝑥(𝑡)
𝑑𝑡
𝑑𝑖(𝑡)
Example: Voltage across an inductor L is v(t)=L
𝑑𝑡
1.6.5 Integration:
19
Signal and Systems Analysis Lecture Note prepared for Exit Exams
y(t) = ∫ 𝑥(𝜏)𝑑𝜏
−∞
Example: Voltage across a capacitor C is
𝑡
1
y(t) = ∫ 𝑖(𝜏)𝑑𝜏
𝐶
−∞
20
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Dynamic: A system is said to possess memory if its output signal depends on past or future values of
input.
Example 1. Inductor and capacitor, since the current flowing through the inductor at time „t‟ depends
on
the all past values of the voltage v(t) i.e.,
t
1
i(t) = L ∫ v(τ)dτ
−∞
t
1
v(t) = C
∫ i(τ)dτ
−∞
1
2. The moving average system given by y(n) = (x(n) + x(n − 1) + x(n − 2))
3
21
Signal and Systems Analysis Lecture Note prepared for Exit Exams
22
Signal and Systems Analysis Lecture Note prepared for Exit Exams
23
Signal and Systems Analysis Lecture Note prepared for Exit Exams
24
Signal and Systems Analysis Lecture Note prepared for Exit Exams
is an invertible system
because, by rearranging terms, we get
𝑑
𝑥(𝑡) = 𝐿𝑑𝑡 𝑦(𝑡) which is the inversion formula.
Note:i) A system is not invertible unless distinct inputs applied to the system produce distinct outputs.
ii) There must be a one to one mapping between input and output signal for system to be invertible.
Non-invertible System: When several different inputs results in the same output, it is impossible to
obtain the input from output. Such system is called a non-invertible system.
Example: A square-law system described by the input output relation
y(t) = x2(t), is non-invertible,
because distinct inputs x(t) & -x(t) produce the same output y(t) [not distinct output]
25
Signal and Systems Analysis Lecture Note prepared for Exit Exams
2.2 Convolution
2.2.1 Resolution of a Discrete-time signal into impulses:
Any arbitrary sequence x(n) can be represented in terms of delayed and scaled impulse sequence δ(n).
Let x(n) is an infinite sequence as shown in figure below.
The sample x(0) can be obtained by multiplying x(0), the magnitude, with unit impulse δ(n)
In the same way we can get the sequence x[n] by summing all the shifted and scaled impulse function
26
Signal and Systems Analysis Lecture Note prepared for Exit Exams
If the input to the system is the unit impulse i.e., x[n] = δ[n], then the output of the system is known as
impulse response represented by h[n] where h[n] = T [δ[n]]
If the input to the system is unit impulse input δ(t), the system output is called the impulse response and
denoted by h(t):
As we know the arbitrary input signal is a weighted sum of impulse, the LHS = x[n]
having a response in RHS = y[n] known as convolution summation.
In other words, given a signal x[n] and the impulse response of an LTI system h[n], the convolution
between x[n] and h[n] is defined as
27
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Properties of convolution:
The following “standard” properties can be proved easily:
1. Commutative: x[n] * h[n] = h[n] *x[n]
2. Associative: x[n] *(h1[n] *h2[n]) = (x[n] *h1[n]) *h2 [n]
3. Distributive: x[n] *(h1[n] + h2 [n]) = (x(n)* h1[n]) + (x[n] *h2[n])
Let’s compute the output y[n] one by one. First, consider y[0]:
∑ 𝑥[𝑘]ℎ[1 − 𝑘]
𝑘=−∞
Therefore
28
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Thus, the output y(t) of a linear time-invariant system to an arbitrary input x(t) is obtained in terms of the
unit impulse input δ(t). is referred to as the convolutional integral and is denoted by the symbol * as
∞
29
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Graphical Convolution
An understanding of graphical interpretation of convolution is very useful in computing the convolution
of more complex signals. The stepwise procedure for graphical convolution is as follows:
Step 1: Make x(τ) fixed.
Step 2: Invert h(τ) about the vertical axis (t = 0) to obtain h(τ).
Step 3: Shift the h(τ) along the τ axis by t0 seconds so that the shifted h(τ) is representing h(t0-τ).
Step 4: The area under the product of x(τ) and h(t0-τ) is y(t0), the value of convolution at t =t0.
Step 5: Repeat steps 3 and 4 for different values of positive and negative to obtain y(t) for all values of t.
30
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Example Graphically determine the continuous-time convolution of h(t) and x(t) for the following:
Solution
To compute y(t) =x(t) * h(t), first h(τ) is to be obtained by inverting h(τ) about the vertical axis. Then, the
product of x(τ) and h(t τ) is formed, point by point, and this product is integrated to compute y(t). Thus,
the overlap area between the rectangles forming x(τ) and h(t -τ) is y(t). Clearly, y(0) = 0 because there is
no overlap between the rectangles forming x(τ) and h(t -τ) at t ¼=0. For 0 < t < 8, there is overlap
between the rectangles forming x (τ) and h(t -τ). For ≥8 there is no overlap, and hence, y(8) =0. These are
illustrated below with the final result for y(t). The shaded portion represents the overlap area of the
product x(τ) and h(t -τ)
31
Signal and Systems Analysis Lecture Note prepared for Exit Exams
32
Signal and Systems Analysis Lecture Note prepared for Exit Exams
33
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Exercise Determine the continuous-time convolution of x(t) and h(t) for the following
34
Signal and Systems Analysis Lecture Note prepared for Exit Exams
35
Signal and Systems Analysis Lecture Note prepared for Exit Exams
The function H(s) is known as the transfer function of the continuous-time LTI system. Note that H(s) is
defined by the impulse response h(t), and is a function in s (independent of t). Therefore, H(s)x(t) can be
regarded as a scalar H(s) multiplied to the function x(t).
From the derivation above, we see that if the input is x(t) = e st, then the output is a scaled version
y(t) = H(s)est.
Suppose that the impulse response is given by h[n] and the input is x[n] = z n , then the output y[n] is
where we defined
36
Signal and Systems Analysis Lecture Note prepared for Exit Exams
and H(z) is known as the transfer function of the discrete-time LTI system. Similar to the continuous-time
case, this result indicates that
1. zn is an eigenfunction of a discrete-time LTI system, and
2. H(z) is the corresponding eigenvalue
Considering the subclass of periodic complex exponentials e−j(2π/N)n by setting z = e j2π/N , we have
where Ω = 2π/N , and H(ejΩ) is called the frequency response of the system.
3.1.3 Summary
In summary, we have the following observations:
The result implies that if the input is a linear combination of complex exponentials, the output of an LTI
system is also a linear combination of complex exponentials. More generally, if x(t) is an infinite sum of
complex exponentials.
37
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Then
This is an important observation, because as long as we can express a signal x(t) as a linear combination
of eigenfunctions, then the output y(t) can be easily determined by looking at the transfer function (which
is fixed for an LTI system!). Now, the question is : How do we express a signal x(t) as a linear
combination of complex exponentials?
2. In any finite interval of time x(t) is of bounded variation; that is, there are no more than a finite
number of maxima and minima during any single period of the signal.
3. In any finite interval of time, there are only a finite number of discontinuities. For this class of
signals, we are able to express it as a linear combination of complex exponentials:
38
Signal and Systems Analysis Lecture Note prepared for Exit Exams
is given by
39
Signal and Systems Analysis Lecture Note prepared for Exit Exams
we have
which is equivalent to
Example. Sinusoids
Consider the signal x(t) = 1+1/2 cos 2πt+sin3πt. The period of x(t) is T = 2 [Why?] so the fundamental
frequency is ω0 = 2π/T = π. Recall Euler’s formula ejθ = cosθ+jsinθ, we have
Therefore, the Fourier series coefficients are (just “read off” from this equation!):
40
Signal and Systems Analysis Lecture Note prepared for Exit Exams
for any k
3.2.2 Discrete-time Fourier Series coefficients
To construct the discrete-time Fourier series representation, we consider periodic discrete-time signal with
period N
x[n] = x[n + N]
is given by
41
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Example. Let us consider the following signal shown below. We want to determine the discretetime F.S.
coefficient
42
Signal and Systems Analysis Lecture Note prepared for Exit Exams
then xN (t) is an approximation of x(t). As N → ∞, we see that xN (t) → x(t). As an illustration of xN (t) as
N increases, we can see the following figure. Therefore, the number of Fourier series coefficients depends
on the accuracy that we want to achieve. Typically, the number N is chosen such that the residue of the
approximation
43
Signal and Systems Analysis Lecture Note prepared for Exit Exams
44
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Example Find the trigonometric Fourier series representation of the periodic signal shown in Figure with
A =3 and period T0=2π.
45
Signal and Systems Analysis Lecture Note prepared for Exit Exams
46
Signal and Systems Analysis Lecture Note prepared for Exit Exams
47
Signal and Systems Analysis Lecture Note prepared for Exit Exams
where x(t) = x(t + T). The Fourier Series coefficients of x(t) are (check yourself!)
which is the normalized Fourier Series coefficient. Pictorially below, indicates that the normalized Fourier
series coefficients Tak are bounded by the envelop X(ω) = 2 sin(ωT1) /ω , as illustrated in Fig below
48
Signal and Systems Analysis Lecture Note prepared for Exit Exams
When T increases, the spacing between consecutive ak reduces. However, the shape of the envelop
function X(ω) = 2sin(ωT1) /ω remains the same. This can be seen in below
In the limiting case where T → ∞, then the Fourier series coefficients Tak approaches the envelop
function X(ω). This suggests us that if we have an aperiodic signal, we can treat it as a periodic signal
with T → ∞. Then the corresponding Fourier series coefficients approach to the envelop function X(ω).
The envelop function is called the Fourier Transform of the signal x(t). Now, let us study Fourier
Transform more formally
Step 2
49
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Step 3.
as
50
Signal and Systems Analysis Lecture Note prepared for Exit Exams
The two equations above are known as the Fourier Transform pair.as Analysis Equation (because we are
analyzing the time signal in the Fourier domain) and the latter is called the Synthesis Equation (because
we are gathering the Fourier domain information and reconstruct the time signal).
To summarize we have
Figure : Fourier Transform on aperiodic signals is equivalent to applying Fourier series analysis on the
periodically padded version of the signal, and set the limit of ω0 → 0
51
Signal and Systems Analysis Lecture Note prepared for Exit Exams
of x(t) is T0, then ω0 = 2π/T0 . Now, since x(t) is periodic, we can apply Fourier Series analysis to x(t) and
get
where ak is the Fourier Series coefficient. If we further apply Fourier Transform then we have
Here, the last equality is established by the fact that inverse Fourier Transfom
Therefore, we showed that the Fourier Transform of a periodic signal is a train of impulses with amplitude
defined by the Fourier Series coefficients (and scaled by a factor of 2π).
52
Signal and Systems Analysis Lecture Note prepared for Exit Exams
4.4 Examples
Example 1
Example 2
Example 3.
53
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Example 5. Let us determine the CTFT of the unit step function u(t). To do so, we apply CTFT and get
54
Signal and Systems Analysis Lecture Note prepared for Exit Exams
55
Signal and Systems Analysis Lecture Note prepared for Exit Exams
56
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Example
57
Signal and Systems Analysis Lecture Note prepared for Exit Exams
General Systems
In general, we want to study the system
58
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Example 1
59
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Example 2
60
Signal and Systems Analysis Lecture Note prepared for Exit Exams
By defining
61
Signal and Systems Analysis Lecture Note prepared for Exit Exams
If we define
then
62
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Therefore
Figure : As N → ∞, ω0 → 0. So the area becomes infinitesimal small and sum becomes integration.
63
Signal and Systems Analysis Lecture Note prepared for Exit Exams
64
Signal and Systems Analysis Lecture Note prepared for Exit Exams
5.5 Examples
To sketch the magnitude |X(ejω)|, we note that |X(e jω)| = |1 + 2 cos ω|.
65
Signal and Systems Analysis Lecture Note prepared for Exit Exams
66
Signal and Systems Analysis Lecture Note prepared for Exit Exams
67
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Mathematically, if the continuous-time signal is x(t), we can collect a set of samples by multiplying x(t)
with an impulse train p(t):
where T is the period of the impulse train. Multiplying x(t) with p(t) yields
Pictorially, xp(t) is a set of impulses bounded by the envelop x(t) as shown in Figure below
68
Signal and Systems Analysis Lecture Note prepared for Exit Exams
The output signal xp(t) represents a set of samples of the signal x(t).
We may regard xp(t) as the samples of x(t). Note that xp(t) is still a continuous-time signal!
(We can view xp(t) as a discrete-time signal if we define xp[n] = x(nT). But this is not an important issue
here.)
This means that the frequency response of the impulse train p(t) is another impulse train. The only
difference is that the period of p(t) is T, whereas the period of P(jω) is 2π/T .
69
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Shown in above are the frequency response of X(jω) and P(jω) respectively. To perform the convolution
in frequency domain, we first note that P(jω) is an impulse train. Therefore, convolving X(jω) with P(jω)
is basically producing replicates at every 2π /T . The result is shown in below.
Figure: Convolution between X(jω) and P(jω) yields periodic replicates of X(jω)
70
Signal and Systems Analysis Lecture Note prepared for Exit Exams
the period 2π/T reduces! In other words, the impulses are more packed in frequency domain when T
increases. Figure below illustrates this idea.
71
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Figure : When T is sufficiently large, there will be overlap between consecutive replicates.
Therefore, in order to avoid aliasing, T cannot be too large. If we define the sampling rate to be
then smaller T implies higher ωs. In other words, there is a minimum sampling rate such that no aliasing
occurs.
6.2.4 What is the minimum sampling rate such that there is no aliasing?
Here, let us assume that the signal x(t) is band-limited. That is, we assume X(jω) = 0 for all |ω| > W,
where W is known as the band-width. To answer this question, we need the Sampling Theorem.
Figure: Left: A band limited signal (since X(jω) = 0 for all ω > |W|.) Right: A band non-limited signal.
72
Signal and Systems Analysis Lecture Note prepared for Exit Exams
6.3.1 Explanation
Suppose x(t) has bandwidth W. The tightest arrangement that no aliasing occurs is shown below.
If T is larger (or ωs is smaller), then 2π/T becomes less than 2W, and aliasing occurs. Therefore, the
minimum sampling rate to ensure no aliasing is ωs > 2W.
Example Suppose there is a signal with maximum frequency 40kHz. What is the minimum sampling rate
Answer : Since ω = 2πf, we know that the max frequency (in rad) is ω = 2π(40 × 103 ) = 80 × 103π (rad).
Therefore, the minimum Sampling rate is: 2 × (80 × 103π), which is 160 × 103π (rad) = 80kHz.
73
Signal and Systems Analysis Lecture Note prepared for Exit Exams
As shown in the top left of above figure , Xp(jω) is a periodic replicate of X(jω). Since we assume that
there is no aliasing, the replicate covering the y-axis is identical to X(jω). That is, for |ω| < ωs /2 ,
Xp(jω) = X(jω).
Now, if we apply an ideal lowpass filter
then
Xp(jω)H(jω) = X(jω),
for all ω. Taking the inverse continuous-time Fourier transform, we can obtain x(t).
74
Signal and Systems Analysis Lecture Note prepared for Exit Exams
Figure : Left: Multiplication between Xp(jω) and the lowpass filter H(jω).
The extracted output Xˆ(jω) is identical to X(jω) if no aliasing occurs. By applying inverse Fourier
transform to Xˆ(jω) we can obtain x(t).
6.4.2 If Xp(t) has aliasing, can I still recover x(t) from xp(t) ?
The answer is NO. If aliasing occurs, then the condition Xp(jω) = X(jω does not hold for all |ω| < ωs /2 .
Consequently, even if we apply the lowpass filter H(jω) to Xp(jω), the result is not X(jω). This can be
seen in Figure below
Figure : If aliasing occurs, we are unable to recover x(t) from xp(t) by using an ideal lowpass filter..
75
Signal and Systems Analysis Lecture Note prepared for Exit Exams
6.4.3 What can I do if my sampling device does not support a very high sampling rate?
• Method 1: Buy a better sampling device !
• Method 2: Send signals with narrower bandwidth or limit the bandwidth before sending :
Method 3 : use multi rate system with proper sample rating at each stage
76