Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
to signals
TUT/Pretoria
February 9th , 2015
Contents
1 Foreword 1
2 classification of signals 2
3 Piecewise-defined signals 5
5 Signal operations 13
5.1 Time shifting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.2 Time inversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.3 Time scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.4 combined operations . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.5 Amplitude transformations . . . . . . . . . . . . . . . . . . . . . 17
6 Signal models 19
6.1 Unit step function u(t) . . . . . . . . . . . . . . . . . . . . . . . . 19
6.2 Unit impulse function δ(t) . . . . . . . . . . . . . . . . . . . . . . 23
6.3 Complex exponential function est . . . . . . . . . . . . . . . . . . 26
1 Foreword
Definition 1.1. A signal is a set of information or data. A Signal is mathemat-
ically defined as a function of one or more than one independent variables:
1
2. classification of signals
f (t), f ( x, y), etc. Independent variables can be time, distance, spatial coordi-
nates, etc.
• Examples:
20
15
10
−5
−10
−15
−20
0 20 40 60 80 100 120 140 160 180 200
n(sample number)
• Signal processing IV deals with signals that are functions of time: Signals
that are function of one independent variable, time. Such signals are
sometimes referred to as time series.
2 classification of signals
2
• Digital signal: A signal whose amplitude can take on only a finite number
of values. [A digital signal whose amplitude can take on M values is an
M-ary signal of which binary (M = 2) is a special case. For example, the
transmission of 3 bits at a time (simultaneously) over a communication
channel is possible with an 8-ary signal (i.e., 8 different signal levels)].
Analogue signal can be converted into a digital signal (Analog-to-digital
(A/D) conversion) through quantization.
BAnalogue signal and digital signal referring to the nature of the signal
amplitude (nature of the signal along the vertical axis).
8 8
7 7
6 6
5 5
f(t)
f(t)
4 4
3 3
2 2
1 1
0 0
−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1 −1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1
t (sec) t (sec)
7 7
6 6
5 5
f(t)
f(t)
4 4
3 3
2 2
1 1
0 0
−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1 −1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1
t (sec) t (sec)
Analogue, discrete-time signal (plot using stem). Digital, discrete-time signal (plot us-
ing stem).
The upper left figure being the first figure, all the remaining three figures
are obtained from this first figure. See also Figure 1.5 in the textbook for
another example.
3
2. classification of signals
The period of f (t) is the smallest value of T0 that satisfies the periodicity
condition.
Properties:
0.8 0.8
0.6 0.6
f(t)
f(t)
0.4 0.4
0.2 0.2
0 0
−0.2 −0.2
−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1 −1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1
t (sec) t (sec)
• Energy signal and Power signal: The difference between the two signals is
explained in the following section (section on Size of signal).
4
• A random signal: A signal whose values cannot be predicted precisely but
are known only in terms of probability description, such as mean value,
mean squared value (or variance) and so on. Such signal can in general
be a stochastic signal (or stochastic process) with a probability distribu-
tion defined at each time instant and a correlation defined across differ-
ent time instants (e.g., speech, transient signals); however, it can also be
a signal (random in time) whose values over a given time interval have
a specific probabilistic value or frequency spectrum (e.g., white noise
signal).
[Signal processing IV deals only with deterministic signals.]
3 Piecewise-defined signals
• An example:
t2 + 4t + 4 −2 ≤ t < −1
0.16t2 − 0.48t + 0.36 −1 ≤ t < 1.5
f (t) =
e−0.5t 1.5 ≤ t < 3
0 otherwise(or t ≥ 3 and t < −2)
0.8
0.6
f(t)
0.4
0.2
−0.2
−5 −4 −3 −2 −1 0 1 2 3 4 5
t (sec)
5
4. Size (strength) of a signal
• Some signals are compactly defined by a single equation but are more
conveniently used in analysis if a piecewise definition is employed. For
example when f (t) = e−|t| is used in integral, it can be broken into two
parts:
{
et t<0
f (t) =
e−t t≥0
6
4.2. Signal power (Pf )
• Comparing signals:
7
4. Size (strength) of a signal
nals (noise). The quality of the received signal is judged by the rela-
tive sizes of the desired signal and the unwanted signal (noise): The
ratio of the message signal and noise signal powers (Signal to noise
power ratio) is a good indication of the received signal quality.
• Power signal: A signal whose power is finite and nonzero (i.e., Pf < ∞
and Pf ̸= 0, otherwise 0 < Pf < ∞).
A power signal must necessarily have infinite duration; otherwise its
power which is the energy averaged over an infinitely large interval will
not approach a (nonzero) limit.
Periodic signals for which the area under | f (t)|2 (or under f 2 (t) for real-
valued signals) over one period is finite are power signals; however not
T
∫2
1
all power signals are periodic. For periodic signals Pf = | f (t)|2 dt
T
− T2
for a general complex-valued signal f (t) with T being the period of the
T
∫2
1
periodic signal. In case f (t) is a real signal, Pf = f 2 (t)dt with T
T
− T2
being the period of the periodic signal.
• Since the averaging is over an infinitely large interval, a signal with finite
energy (E f < ∞) has zero power (Pf = 0) and a signal with finite power
(Pf < ∞) has infinite energy (E f = ∞). Therefore, a signal cannot be both
an energy signal and a power signal [if it is one, it cannot be the other];
however there are signals that are neither energy nor power signals. For
example:
{
t t≥0
f (t) =
0 t<0
8
4.5. Examples
{
t−0.1 t≥1
f (t) =
0 t<0
4.5 Examples
Which one of the following signal is power signal or energy signal? Motivate.
π
(b) f 2 (t) = sin(2t + )
3
• Solution
0.8
0.6
f(t)
e−2|t|
0.4
0.2
9
4. Size (strength) of a signal
∫∞
E f1 = | f 1 (t)|2 dt
−∞
∫∞
E f1 = |e−2|t| |2 dt
−∞
∫∞
= e−4|t| dt
−∞
∫0 ∫∞
= e4t dt + e−4t dt
−∞ 0
1 1 −4t ∞
= [e4t ]0−∞ + [ e ]0
4 −4
1 1 1 1
= (1 − 0) + (0 − 1) = +
4 −4 4 4
1
=
2
Noting that from the second line, we can also solve the problem knowing
∫∞ ∫∞
that E f1 = |e−4t |dt = 2 e−4t dt
−∞ 0
∫
T/2
1
Pf1 = lim f 12 (t)dt = 0
T →∞ T
− T/2
10
4.5. Examples
0.8
0.6
sin(2t+ π/3)
0.4
0.2
f(t)
−0.2
−0.4
−0.6
−0.8
−1
∫∞
E f2 = f 22 (t)dt = ∞
−∞
π
The graph of sin2 (2t + ) is shown below:
3
1 sin2(2t+ π/3)
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
π
The area between sin2 (2t + ) and the t axis for −∞ < t < ∞ is infinity
3
=⇒ Infinite signal energy
11
4. Size (strength) of a signal
∫
T/2
1
Pf2 = lim | f 2 (t)|2 dt
T →∞ T
− T/2
∫
T/2
1 π 2
= lim | sin(2t + )| dt
T →∞ T 3
− T/2
∫
T/2
1 π
= lim sin2 (2t + )dt
T →∞ T 3
− T/2
1
Given that sin2 θ = (1 − cos(2θ )):
2
∫π
1 1 2π
Pf 2 = (1 − cos(4t + ))dt
2π 2 3
−π
∫π ( )
1 2π 2π
Pf 2 = 1 − cos(4t) cos( ) − sin(4t) sin( ) dt
4π 3 3
−π
12
√
2π 1 2π 3
Given that cos( ) = − and sin( ) =
3 2 3 2
∫π
( √ )
1 1 3
Pf 2 = 1 + cos(4t) − sin(4t) dt
4π 2 2
−π
[ √ ]π
1 1 3
= t + sin(4t) + cos(4t)
4π 8 8
−π
√ √
1 3 3
= [(π + 0 + ) − (−π − 0 + )]
4π 8 8
1 1
= (2π ) =
4π 2
• Do example 1.1
• Do example 1.2
• Do Exercise E1.1
• Do Exercise E1.2
• Do Exercise E1.3
5 Signal operations
In this section, three time transformations (namely, Time shifting, Time in-
version(folding: Time reversal) and Time scaling) and three amplitude trans-
formations (namely, amplitude shifting, amplitude inversion and amplitude
scaling) are described.
(1) T > 0, the shift is to the right (delay): whatever happen in f (t) at some
instant t also happens in g(t) = f (t − T ), T seconds later at the instant
t + T (i.e., g(t + T ) = f (t)).
13
5. Signal operations
• Example:
1.5
f(t)
0.5
−5 −4 −3 −2 −1 0 1 2 3 4 5
t (sec)
f ( t ).
2 2
1.5 1.5
f(t + 1)
f(t − 1)
1 1
0.5 0.5
0 0
−5 −4 −3 −2 −1 0 1 2 3 4 5 −5 −4 −3 −2 −1 0 1 2 3 4 5
t (sec) t (sec)
• Do Example 1.3
• Do Exercise E1.5
14
5.3. Time scaling
• Example:
1.2 1.2
1 1
0.8 0.8
0.6 0.6
f(−t)
f(t)
0.4 0.4
0.2 0.2
0 0
−0.2 −0.2
−5 −4 −3 −2 −1 0 1 2 3 4 5 −5 −4 −3 −2 −1 0 1 2 3 4 5
t (sec) t (sec)
1.5
f(t)
0.5
−5 −4 −3 −2 −1 0 1 2 3 4 5
t (sec)
f ( t ).
15
5. Signal operations
2 2
1.5 1.5
f(2t)
f( 2t )
1 1
0.5 0.5
0 0
−5 −4 −3 −2 −1 0 1 2 3 4 5 −6 −4 −2 0 2 4 6
t (sec) t (sec)
• Example:
You are given f (t):
1.5
f(t)
0.5
−6 −4 −2 0 2 4 6
t (sec)
f ( t ).
Plot f (4 − 2t).
Solution:
16
5.5. Amplitude transformations
1.5
f(t)
0.5
−6 −4 −2 0 2 4 6
t (sec)
f ( t ).
2 2 2
f(−2t + 4)
f(2t + 4)
f(t + 4)
1 1 1
0 0 0
−8 −6 −4 −2 0 2 4 6 8 −8 −6 −4 −2 0 2 4 6 −8 8 −6 −4 −2 0 2 4 6 8
t (sec) t (sec) t (sec)
1.5
f(t)
0.5
−6 −4 −2 0 2 4 6
t (sec)
f ( t ).
2 2 2
1 1 1
0 0 0
−8 −6 −4 −2 0 2 4 6 8 −8 −6 −4 −2 0 2 4 6 8 −8 −6 −4 −2 0 2 4 6 8
t (sec) t (sec) t (sec)
17
5. Signal operations
1.5
f(t)
0.5
−5 −4 −3 −2 −1 0 1 2 3 4 5
t (sec)
f ( t ).
3
1
0.8
2.5
0.6
0.4
2
0.2
f(t) + 1
f(t) − 1
0
1.5
−0.2
−0.4
1
−0.6
0.5 −0.8
−1
0
−5 −4 −3 −2 −1 0 1 2 3 4 5 −5 −4 −3 −2 −1 0 1 2 3 4 5
t (sec) t (sec)
f (t) + 1. f (t) − 1.
2 0
1.5 −0.5
−f(t)
f(t)
1 −1
0.5 −1.5
0 −2
−5 −4 −3 −2 −1 0 1 2 3 4 5 −5 −4 −3 −2 −1 0 1 2 3 4 5
t (sec) t (sec)
f ( t ). − f ( t ).
18
2
1.5
f(t)
0.5
−5 −4 −3 −2 −1 0 1 2 3 4 5
t (sec)
f ( t ).
1.2
4
3.5 1
3
0.8
2.5
0.6
2f(t)
f(t)
2
2
0.4
1.5
1 0.2
0.5
0
0
−0.2
−5 −4 −3 −2 −1 0 1 2 3 4 5 −5 −4 −3 −2 −1 0 1 2 3 4 5
t (sec) t (sec)
f (t)
2 f (t): Amplified. 2 : Attenuated.
6 Signal models
So far we have mainly encountered 4 signal models: Sinusoid, Exponential,
Product of sinusoid and exponential, and Ramp signal. This section intro-
duces 3 models commonly used in area of signals and systems, namely the
step function, the impulse function and the exponential function with a gen-
eral complex exponent. These 3 signal models are used as basis to represent
other signals and they can be used to simplify different aspects of signals and
systems.
(1) The unit step function u(t) is a causal signal and can be used to rep-
resent other causal signals or to segment other signals. A given ar-
bitrary signal f (t) possibly noncausal, is reduced to a causal signal
19
6. Signal models
1.2
2.5 1
0.8
2
0.6
f(t)u(t)
f(t)
1.5
0.4
1
0.2
0
0.5
−0.2
−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1 −1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1
t (sec) t (sec)
e−t . e − t u ( t ).
1.2
0.8
0.6
f(t)
0.4
0.2
−0.2
−1 0 1 2 3 4 5
t (sec)
20
6.1. Unit step function u(t)
3.5
2.5
f(t)
1.5
0.5
−1 0 1 2 3 4 5
t (sec)
1.5
f(t)
0.5
−1 0 1 2 3 4 5 6 7 8
t (sec)
Solution:
• Do Example 1.6
• Do Example 1.7
21
6. Signal models
• Exercise E1.7
• Exercise E1.8
) (
t−T
• Rectangular pulse or function is expressed in general as Arect
a
[a is the width of the rectangular pulse while A is the height of the
rectangular pulse and T is the location of its centre].
( ) {
t−T A T − 2a ≤ t < T + a
2
Arect =
a 0 otherwise
Examples:
0.8
0.6
f(t)
0.4
0.2
−0.2
−τ/2 0 τ/2
t (sec)
{
t 1 − τ2 ≤ t < τ
2
rect( ) =
τ 0 otherwise
2. One of the rectangular pulse that was given above u(t − 2) − u(t −
4) can also be represented as: u(t − 2) − u(t − 4) = rect( t−2 3 ).
• Homework:
22
6.2. Unit impulse function δ(t)
• Also called Dirac delta function (or δ function) and has some analogous
properties to the Kronecker delta function encountered in the study of
discrete-time signals. The most important function in field of signals and
systems.
• It is a theoretical signal and not physical; and there are different impulse
approximations (i.e., different intuitive descriptions of an impulse). Fol-
lowings are some approximating functions:
1/ε 1/ε 1/ε
2
f(t) = √ e−t /2²
u(t)
2
1 −t/²
² 2π
f(t)
f(t)
²→0
e
1
²
f(t) =
0 0 0
−ε/2 0 ε/2 −ε 0 ε −ε 0 ε 0
t (sec) t (sec) t (sec) t (sec)
2
f(t)
1.5
1
δ(t)
0.5
23
6. Signal models
2 5
1.5 4.5
1 4
4δ(t − 3)
0.5 3.5
f(t)
f(t)
0 3
−0.5 2.5
−1 2
−1.5 1.5
−2
−2δ(t) 1
−2.5 0.5
−3 0
−2δ(t): Its strength is 2 and amplitude re- 4δ(t − 3): Its strength is 4
versed. and located at 3.
The strength of an impulse refers to the area under the impulse;
and a unit impulse function δ(t) has a strength of 1
3. Multiplication of a function by an impulse:
Example:
f(T)
δ(t − T )
f(t)
0
0 T
f (t)δ(t − T ) = f ( T )δ(t − T )
4. Sampling or sifting property of the unit impulse function
∫∞ ∫∞
ϕ(t)δ(t)dt = ϕ(0)δ(t)dt
−∞ −∞
∫∞
= ϕ (0) δ(t)dt
−∞
= ϕ (0)
24
6.2. Unit impulse function δ(t)
1. Impulse function does not define a unique function; e.g., δ(t) + δ̇(t)
also satisfy the first definition.
2. It is not a true mathematical function in ordinary sense (i.e., does
not specify a value of the dependent variable for each value of in-
dependent variable): It is undefined at t = 0.
3. It is defined as a generalized function rather than an ordinary func-
tion. A generalized function is defined by its effect on other func-
tions instead of its value at every instant of time. Impulse function
is defined in terms of its effect on a test function ϕ(t).
du
= δ(t)
dt
(Proof from Equation 1.25 to Equation 1.27). Consequently:
25
6. Signal models
∫t {
0 t<0
δ(τ )dτ = = u(t)
1 t≥0
−∞
• Do Exercise 1.9
• Do Exercise 1.10
• Other examples:
1. (t3 + 3)δ(t) =
ω2 + 1
2. δ ( ω − 1) =
ω2
3. t2 δ(−t) =
∫0
4. [δ(t) − δ(t − 1) + δ(t + 1)]dt =
−4
est = e(σ+ jω )t
= eσt (cos ωt + j sin ωt)
1 st
eσt cos ωt = (e + es̄t )
2
26
1. σ = 0, ω = 0 =⇒ f (t) = K [A constant (a DC) signal] (see Figure
1.21 (a))
2. ω = 0 =⇒ f (t) = eσt [Monotonic increasing or decreasing expo-
nential] (see Figure 1.21 (a))
3. σ = 0 =⇒ Re{ f (t)} = cos ωt [A sinusoid] (see Figure 1.21 (b))
4. σ ̸= 0, ω ̸= 0 =⇒ Re{ f (t)} = eσt cos ωt [Exponentially varying
sinusoid] (see Figure 1.21 (c) and Figure 1.21 (d))
f e (−t) = f e (t)
An even function has the same value at the instants t and −t for all
values of t. f e (t) is symmetrical about the vertical axis (see Figure 1.23
(a)).
f o (−t) = − f o (t)
For odd function, the value at the instant t is the negative of its value
at the instant −t. f o (t) is anti-symmetrical about the vertical axis (or
symmetric with respect to the origin) (see Figure 1.23 (b)).
27
7. Even and odd functions
• Area
∫a ∫a
f e (t)dt = 2 f e (t)dt
−a 0
∫a
f o (t)dt = 0
−a
1 1
f (t) = [ f (t) + f (−t)] + [ f (t) − f (−t)]
2 2
i.e., a sum of an even f e (t) function and an odd function f o (t).
• Do Example 1.8
• Example: Decompose the function f (t) = e− at u(t) into its even and odd
parts.
0.8
0.6
f(t)
0.4
0.2
−0.2
−2 −1.5 −1 −0.5 0 0.5 1 1.5 2
t (sec)
28