Professional Documents
Culture Documents
E-Mail: haseebkhan@uetmardan.edu.pk
1
Chapter # 2
2
Chapter-2
3
Signals and systems
• A signal is a any time-varying quantity of information or data.
4
Size of Signals
The size of any entity is a number that indicates the largeness or strength of that entity
• Energy
The energy Eg of a signal g(t) can be calculated by the formula
5
Size of Signals (cont…)
• Power
The power Pg of a signal g(t) can be calculated by the formula
The power represents the time average(mean) of the signal amplitude squared. It is
finite only if the signal is periodic or has statistical regularity.
6
Size of Signals (cont…)
• Examples for signals with finite energy (a) and finite power (b):
• Remark:
• The terms energy and power are not used in their conventional sense as
electrical energy or power, but only as a measure for the signal size.
7
Classification of signals
1) Continuous-time and discrete-time signals
2) Analog and digital signals
3) Periodic and aperiodic signals
4) Energy and power signals
5) Deterministic and random signals
6) Causal vs. Non-causal signals
8
Classification of signals
Continuous time (CT) and discrete time (DT) signals
9
Classification of signals
Analog continuous time signal x(t)
10
Classification of signals
Digital continuous time signal
11
Classification of signals
periodic and aperiodic signals
Examples:
12
Classification of signals
13
Classification of signals
14
Classification of signals
Energy and Power Signals
15
Classification of signals
Remarks:
• A signal with finite energy has zero power.
• A signal can be either energy signal or power signal, not both.
• A signal can be neither energy nor power e.g. ramp signal
16
Classification of signals
Deterministic and Random signals
• A signal g(t) is called deterministic, if it is completely known and
can be described mathematically
17
Classification of signals
Causal vs. Non-causal signals
A causal signal is zero for t < 0 and an non-causal signal is
zero for t > 0 or
A causal signal is any signal that is zero prior to time zero.
Thus, if x(n) denotes the signal amplitude at time (sample) n,
the signal x is said to be causal if x(n)=0 for all n< 0
18
Classification of signals
19
Classification of signals
Even signals xe(t) and odd signals xo(t) are defined as
xe(t) = xe(−t) and xo(−t) = −xo(t).
20
Signal operations
Time Shifting
21
Signal operations (cont'd)
Time-Scaling
22
Signal operations (cont'd)
23
Unit Impulse Function
32
Unit Step Function
25
Signals and Vectors
• Analogy between Signals and Vectors
• --A vector can be represented as a sum of its components
• --A Signal can also be represented as a sum of its components
• Component of a vector:
• A vector is represented by bold-face type
• Specified by its magnitude and its direction.
• E.g
Vector x of magnitude | x | and Vector g of magnitude | g |
• Let the component of vector g along x be cx
• Geometrically this component is the projection of g on x
• The component can be obtained by drawing a perpendicular from the
tip of g on x and expressed as
g = cx + e
26
Component of a Vector
• There are infinite ways to express g in terms of x
• If we approximate g by cx
27
Component of a Vector (cont..)
e = g - cx
28
Component of a Vector (cont..)
• We can mathematically define the component of vector g along x
• We take dot product (inner or scalar) of two vectors g and x as:
g.x = | g || x | cos
29
Component of a Vector (cont..)
Consider the first figure again and expression for c
31
Component of a Signal
• As energy is one possible measure of signal size.
•To minimize the effect of error signal we need to minimize its
size-----which is its energy over the interval
Necessary condition
32
Component of a Signal
33
Component of a Signal
35
Example 2.5 Component of a Signal (cont..)
For the square signal g(t), find the component of g(t) of the form
sint or in other words approximate g(t) in terms of sint
g(t) c sin t 0 t 2
36
Example 2.5 (cont…)
g(t) cx(t)
t2 2
Ex x(t) dt
t1
Coefficient c and the error in this case is
Ee g(t) cx(t)
t1 47
Orthogonality in complex signals
t2 2
Ee g(t) cx(t)
t1
We know that:
2
u v u v u v u v uv uv
2 2
2 2 2
t2 t2 t2
1 1
Ee g(t)dt
Ex
g(t)x (t)dt c Ex
Ex
g(t)x
(t)dt
t1 t1 t1
39
Orthogonality in complex signals
t
1 2
c
Ex t 1
g(t)x
(t)dt
t2
x (t)x (t)dt 0
1 2
t1 or
t2
x (t)x (t)dt 0
1 2
t1
40
Energy of the sum of orthogonal
signals
z x y
2 2 2
41
Correlation
Consider vectors again:
• Two vectors g and x are similar if g has a large component along x
OR
54
Example 2.6
Find the correlation co-efficient cn between the pulse x(t) and the
pulses gi (t) ,i 1,2,3,4,5,6
5 5
E x x 2 (t)dt dt 5 Similarly E g1 5
0 0 5
1
cn dt 1
1
cn
E g E x
g(t)x(t)dt
5 5 0
Maximum possible similarity 55
Example 2.6 (cont…)
5 5
E x x 2 (t)dt dt 5 E g2 1.25
0 0
1 5
cn
E g E x
g(t)x(t)dt cn
1
(0.5)dt 1
1.25 5 0
5 5
E x x 2 (t)dt dt 5 Similarly E g1 5
0 0
5
1
(1)(1)dt 1
1
cn g(t)x(t)dt cn
E g E x 5 5 0
57
Example 2.6(cont…)
Ex x 2(t)dt dt 5
5 5
0 0
T 2 T
1
E (e at
) dt e 2at
dt (1 e2aT )
0 0
2a
1 5 t
Here a T5
1
5
Eg 4 2.1617
cn
5 2.1617 0
e 5 dt 0.961
50
Orthogonal Signal Space
51
Trigonometric Fourier series
Consider a signal set:
1, cos wot, cos 2wot........cos nwot,....sin wot,sin 2wot....sin nwot,....
•A sinusoid function with frequency nwo is called the nth harmonic
of the sinusoid of frequency w o when n is an integer.
• A sinusoid of frequency wo is called the fundamental
• This set is orthogonal over any interval of duration To 2
wo
0
nm
sin nwo t sin mwo tdt T o
To 2 nmo 61
Trigonometric Fourier series
and
sin nw
To
o t cos mwo tdt 0 for all n and m
2
wn 62
To
Trigonometric Fourier series
t 1 T o
1
a 0
T g ( t )dt
o t1
t1 To
2
a n
T g ( t ) cos nw o tdt n 1, 2, 3,......
o t1
t1 To
bn
2
g ( t )sin nw o tdt n 1, 2, 3,......
T o t1
63
Compact Trigonometric Fourier series
Cn a n2 b n2
bn
n tan 1
an
Co a o 64
Compact Trigonometric Fourier series
g ( t ) C 0 C n cos( nw o t n ) t 1 t t 1 To
n1
56
Periodicity of the trigonometric Fourier
series
The co-efficient of the of the Fourier series are calculated for the
interval t1 ,t1 To
( t ) C o C n cos( nw o t n ) for all t
n1
( t T 0 ) C o C n [cos( nw o ( t T 0 ) n ]
n1
C
o
C n
cos( nwto 2 n n )
n 1
C C cos( nwt )
o n o n for all t
n 1
(t)
57
Periodicity of the trigonometric Fourier series
1
ao
To To
g(t)dt
2
an
To To
g(t) cosnwotdt n= 1,2,3,……
2
bn
To To
g(t) sinnwtdt
o n= 1,2,3,……
58
Fourier Spectrum
Consider the compact Fourier series
g(t) C0 Cn cos(nwo t n )
n1
59
Fourier Spectrum
Frequency domain description of ( t )
cn vs w (Amplitude spectrum)
vs w (phase spectrum)
60
Exponential Fourier series
61
Exponential Fourier series
62