Description
M.J.RobertsAllRightsReserved. 1
EditedbyDr.RobertAkl
Sampling and Discrete Time
Sampling is the acquisition of the values of a continuous-time signal
at discrete points in time. x t is a continuous-time signal, x n is a
discrete-time signal.
x n x nTs where Ts is the time between samples
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 2
Sampling and Discrete Time
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 3
Sinusoids
The general form of a periodic sinusoid with fundamental
period N0 is g n Acos 2 F0 n or Acos 0 n
Unlike a continuous-time sinusoid, a discrete-time sinusoid is
not necessarily periodic. If a sinusoid has the form
g n Acos 2 F0 n then F0 must be a ratio of integers
(a rational number) for g n to be periodic. If F0 is rational in
the form q/ N0 and all common factors in q and N0
have been cancelled, then the fundamental period of the sinusoid is
N0 , not N0 / q (unless q 1).
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 4
Sinusoids
Periodic Periodic
Periodic Aperiodic
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 5
Sinusoids
An Aperiodic Sinusoid
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 6
Sinusoids
Two sinusoids whose analytical expressions look different,
g1 n Acos 2 F01n and g 2 n Acos 2 F02 n
may actually be the same. If
F02 F01 m, where m is an integer
then (because n is discrete time and therefore an integer),
Acos 2 F01n Acos 2 F02 n
(Example on next slide)
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 7
Sinusoids
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 8
Sinusoids
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 9
Exponentials
Real Complex
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 10
The Unit Impulse Function
1 , n 0
n
0 , n 0
A n n x n Ax n
0 0
n
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 11
The Unit Sequence Function
1 , n 0
u n
0 , n 0
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 12
The Signum Function
1 , n 0
sgn n 0 , n 0
1 , n 0
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 13
The Unit Ramp Function
n , n 0 n
ramp n nu n u m 1
0 , n 0 m
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 14
The Periodic Impulse Function
N n n mN
m
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 15
Scaling and Shifting Functions
Let g n be graphically defined by
g n 0 , n 15
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 16
Scaling and Shifting Functions
Timeshifting n n n0 , n0 an integer
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 17
Scaling and Shifting Functions
Time compression
n Kn
K an integer > 1
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 18
Scaling and Shifting Functions
Timeexpansion n n/ K, K 1
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 19
Scaling and Shifting Functions
There is a form of time expansion that is useful. Let
x n/ m , n/ m an integer
y n
0 , otherwise
All values of y are defined.
This type of time expansion
is actually used in some
digital signal processing
operations.
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 20
Differencing
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 21
Accumulation
n
g n h m
m
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 22
Even and Odd Signals
g n g n g n g n
g n g n g n g n
g e n g o n
2 2
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 23
Products of Even and Odd
Functions
Two Even Functions
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 24
Products of Even and Odd
Functions
An Even Function and an Odd Function
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 25
Products of Even and Odd
Functions
Two Odd Functions
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 26
Symmetric Finite Summation
N N N
g n g 0 2 g n g n 0
n N n1 n N
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 27
Periodic Functions
A periodic function is one that is invariant to the
change of variable n n mN where N is a period of the
function and m is any integer.
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 28
Periodic Functions
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 29
Signal Energy and Power
x n
2
Ex
n
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 30
Signal Energy and Power
x n 0 , n 31
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 31
Signal Energy and Power
Find the signal energy of
5 / 3 2n , 0 n 8
x n
0 , otherwise
7 7 n
2n 2
x n 5 / 3 5 / 3
2 4
Ex
n n 0 n 0
N 1 N , r 1
Using r n
1 rN
n 0 1 r , r 1
8
1 5 / 3
4
Ex 1.871 10 6
1 5 / 3
4
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 32
Signal Energy and Power
Some signals have infinite signal energy. In that case
It is usually more convenient to deal with average signal
power. The average signal power of a signal x n is
1 N1
x n
2
Px lim
N 2N
n N
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 33
Signal Energy and Power
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 34
Signal Energy and Power
M.J.RobertsAllRightsReserved.EditedbyDr.RobertAkl 35