Signal & Systems Week1
Signal & Systems Week1
Signal & Systems Week1
URL: https://www.bahria.edu.pk/bukc/ee/index.php/prof-dr-haroon-rasheed/
Office Hours: Instructor: F01 Liaqut Block, TR 10:00 – 11:00 TA: TBA
Course Objectives
2
What is a Signal?
Signal is a waveform that contains information
System is a model for physical phenomena that generates, processes, or receive signals.
Speech Waveform
x(t): Continuous Time
3
Examples of Signals
Image
I[m,n]: 2D DT signal
(a) 1D CT signal x(t)
(b) 1D DT signal x[n]
Activity 1: For each of the representations: (a) z[m,n,k] (b) I(x,y,z,t), establish if the signal is CT or DT.
Specify the independent and dependent variables. Also, think of an example from the real world that will
have the same mathematical representation. 4
Power vs. Energy Signals (1)
Energy: ⎧∞
∫
⎪ | x(t ) | dt for CT Signals
2
⎪
E∞ = ⎨−∞∞
⎪ | x[n] |2 for DT Signals
⎪
⎩ −∞
∑
Power: ⎧ lim 1 T
⎪T → ∞
⎪ 2T −T ∫
| x(t ) |2 dt for CT Signals
P∞ = ⎨ N
⎪ lim
∑
1 2
| x[ n ] | for DT Signals
⎪N → ∞ 2N + 1
⎩ −N
Activity 2:
a. Consider the sinusoidal signal x(t) = cos(0.5πt). Choosing T = 4, determine the average power of x(t).
b. Consider the signal x(t) = 5 sin(2πt) for the interval −1 <= t <= 1 and is 0 elsewhere. Calculate the energy
of x(t).
c. Calculate the energy of the signal x[n] = (0.8)n for n >= 0 and is 0 elsewhere.
5
Power vs. Energy Signals (2)
1. Energy Signals: have finite total energy for the entire duration of the signal. As a consequence, total
power in an energy signal is 0.
2. Power Signals: have non-zero power over the entire duration of the signal. As a consequence, the total
energy in a power signal is infinite.
Activity 3:
Classify the signals defined in Activity 2 as a power or an energy signal.
6
Linear Transformations
There are two types of linear transformations that we will consider
1. Time Shifting: y (t ) = x(t − t o )
2. Scaling: y (t ) = x( at )
7
Linear Transformations (2)
Scaling for DT Signals: y[n] = x[n − no ]
8
Linear Transformations (3)
Precedence Rule: y (t ) = x(at + b)
1. Establishes the order of shifting and scaling in relationships involving both shifting and scaling
operations.
2. Time-shifting takes precedence over time-scaling. In the above representation, the time shift b is
performed first on x(t), resulting in an intermediate signal v(t) defined by
v(t) = x(t + b)
followed by time-scaling by a factor of a, that is,
y(t) = v(at) = x(at + b).
3. Example: Sketch y(t) = x(2t + 3) for x(t) given in (a)
9
Linear Transformations (4)
For the DT signal x[n] illustrated below:
10
Periodic Signals
1. Periodic signals: A periodic signal x(t) is a function of time that satisfies the condition
x(t) = x(t + T) for all t
where T is a positive constant number and is referred to as the fundamental period of the signal.
Fundamental frequency (f) is the inverse of the period of the signal. It is measured in Hertz (Hz =1/s).
2. Nonperiodic (Aperiodic) signals: are those that do not repeat themselves.
Activity 5: For the sinusoidal signals (a) x[n] = sin (5πn) (b) y[n] = sin(πn/3), determine the fundamental
period N of the DT signals.
11
Even vs. Odd Signals (1)
1. Even Signal: A CT signal x(t) is said to be an even signal if it satisfies the condition
x(−t) = x(t) for all t.
2. Odd Signal: The CT signal x(t) is said to be an odd signal if it satisfies the condition
x(−t) = −x(t) for all t.
3. Even signals are symmetric about the vertical axis or time origin.
4. Odd signals are antisymmetric (or asymmetric) about the time origin.
12
Even vs. Odd Signals (2)
5. Signals that satisfy neither the even property nor the odd property can be divided into even and
odd components based on the following equations:
1− | t − 1 | for 0 ≤ t ≤ 2
x(t ) = ⎧⎨
⎩0 elsewhere
do the following:
(a) sketch the signal
(b) evaluate the odd part of the signal
(c) evaluate the even part of the signal.
13
CT Exponential
. Signals (1)
x(t ) = Ce at
Characteristic C a
Real Exponential Signals real real
Periodic Complex
real imaginary
Exponential
General Complex
complex complex
Exponential
14
CT Exponential
. Signals: Real (2)
15
CT Exponential
. Signals: Periodic Complex (3)
x(t ) = Ce at
where C is a positive number but (a = j ωo) is an imaginary number.
T = 2π
ωο
16
CT Exponential
. Signals: Sinusoidal (4)
1. Sinusoidal Signals:
x(t ) = RE{Ce at } or x(t ) = IM{Ce at }
where C is real and a is complex.
2. Types of Sinusoidal Signals:
17
CT Exponential
. Signals: Sinusoidal (5)
x(t ) = 6 sin(10πt + π / 2)
What is the value of the magnitude, fundamental frequency, fundamental phase, and power for the
sinusoidal signal.
x(t ) = A sin(2πf οt )
is given by A2 / 2.
18
CT Exponential
. Signals: Complex (6)
19
CT Exponential
. Signals (7)
Activity 10: Derive and plot the magnitude and phase of the composite signal
x(t ) = e j 2.5t + e j 3t
20
DT Exponential
. Signals (1)
x[n] = Cα n
Characteristic C α
Real Exponential Signals Real Real
21
DT Exponential
. Signals: Real (2)
22
DT Exponential
. Signals: Sinusoidal (3)
1. Sinusoidal Signals:
x[n] = RE{Cα n } or x(t ) = IM{Cα n }
where C is real and α is complex.
2. Types of Sinusoidal Signals:
23
DT Exponential
. Signals: Sinusoidal (4)
N = 2πm
ωο
24
Unit Step Function
DT domain:
1 n≥0
U [n] = ⎧⎨
⎩0 n <0
CT domain
1 t≥0
U (t ) = ⎧⎨
⎩0 t <0
DT domain:
1 n=0
δ[n] = ⎧⎨
⎩0 n ≠ 0
∞
1. ∫−∞ δ(t )dt = 1
2. δ(at ) = 1 δ(t )
|a|
3. x(t )δ(t − t ο ) = x(t ο )δ(t − t ο )
∞
4. ∫−∞ x(t )δ(t − t ο )dt = x(t ο ) 26
Gate Function
DT domain:
⎧1 n ≥ N / 2
Π[n] = ⎨
⎩0 elsewhere
CT domain
⎧1 t < T
Π (t ) = ⎨
⎩0 elsewhere
27
Ramp Function
DT domain:
n n≥0
r[n] = ⎧⎨
⎩ 0 elsewhere
CT domain
t t≥0
r (t ) = ⎧⎨
⎩ 0 elsewhere
28