Discrete-Time Complex Exponential and Sinusoidal Signals

CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
1 SIGNALS AND SYSTEMS
1.0.
Introduction
1.1.
Continuous-Time and Discrete-Time Signals
1.1.1. Examples and Mathematical Representations
1.1.2. Signal Power and Energy
1.2.
Transformations of the Independent Variable
1.2.1. Examples of the Transformations of the Independent Variable
1.2.2. Periodic Signals
1.2.3. Even and Odd Signals
1.3.
Exponential and Sinusoidal Signals
1.3.1. Continuous-Time Complex Exponential and Sinusoidal Signals
1.3.2. Discrete-Tine Complex Exponential and Sinusoidal Signals
1.3.3. Periodicity Properties of Discrete-Time Complex Exponentials
1.4.
The Unit Impulse and Unit Step Functions
1.4.1. The Discrete-Time Unit Impulse and Unit Step Sequences
1.4.2. The Continuous-Time Unit Step and Unit Impulse Functions
1.5.
Continuous-Time and Discrete-Time Systems
1.5.1. Simple Examples of Systems
1.5.2. Interconnections of Systems
1.6.
Basic System Properties
1.6.1. Systems with and without Memory
1.6.2. Invertibility and Inverse Systems
1.6.3. Causality
1.6.4. Stability
1.6.5. Time Invariance
1.6.6. Linearity
1.7.
Summary
Department of Computer Engineering
Page 1
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
1.1.2
Signal Power and Energy
The total energy over the time internal 𝑑1 ≀ 𝑑 ≀ 𝑑2 in a continuous-time signal π‘₯(𝑑) is defined as
𝑑2
∫ |π‘₯(𝑑)|2 𝑑𝑑
(1.4)
𝑑1
where |π‘₯| denotes the magnitude of the (possibly complex) number π‘₯.
The time averaged power is given by
𝑑2
1
∫ |π‘₯(𝑑)|2 𝑑𝑑
(𝑑2 βˆ’ 𝑑1 )
(1.4-1)
𝑑1
Similarly, the total energy in a discrete-time signal π‘₯[𝑛] over the time interval 𝑛1 ≀ 𝑛 ≀ 𝑛2 is
defined as
𝑛2
βˆ‘ |π‘₯[𝑑]|2
(1.5)
𝑛=𝑛1
The average power over the interval in this case is given by
𝑛2
1
βˆ‘ |π‘₯[𝑑]|2
𝑛2 βˆ’ 𝑛1 + 1
(1.5-1)
𝑛=𝑛1
It is interesting to find out the power and energy in a signal over an infinite time interval, i.e.,
for βˆ’βˆž < 𝑑 < +∞ or for βˆ’βˆž < 𝑛 < +∞. In these cases the total energy and power carried out
by the signal are given by:
For continuous-time (CT) case:
𝑇
Total Energy
∞
𝐸∞ β‰œ lim ∫|π‘₯(𝑑)|2 𝑑𝑑 = ∫ |π‘₯(𝑑)|2 𝑑𝑑
π‘‡β†’βˆž
βˆ’π‘‡
Total Average Power
𝑇
(1.6)
βˆ’βˆž
1
∫|π‘₯(𝑑)|2 𝑑𝑑
π‘‡β†’βˆž 2𝑇
π‘ƒβˆž β‰œ lim
(1.8)
βˆ’π‘‡
For discrete-time (DT) case:
+𝑁
Total Energy
𝐸∞ β‰œ lim βˆ‘
π‘β†’βˆž
𝑛=βˆ’π‘
+∞
|π‘₯[𝑛]|2
= βˆ‘ |π‘₯[𝑛]|2
(1.6)
𝑛=βˆ’βˆž
Department of Computer Engineering
Page 2
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
+𝑁
1
π‘ƒβˆž β‰œ lim
βˆ‘ |π‘₯[𝑛]|2
π‘β†’βˆž 2𝑁 + 1
Total Average Power
(1.8)
𝑛=βˆ’π‘
Three important cases can be identified:
Case 1: Signals with finite total energy, i.e., π‘¬βˆž < ∞:
Such a signal must have zero average power. For example, in continuous case, if 𝐸∞ <
∞, then
𝐸∞
=0
π‘‡β†’βˆž 2𝑇
π‘ƒβˆž = lim
An example of a finite-energy signal is a signal that takes on the value of 1 for 0 ≀ 𝑑 ≀ 1
and 0 otherwise. In this case, 𝐸∞ = 1 and π‘ƒβˆž = 0.
Case 2: Signals with finite average power, i.e., π‘·βˆž < ∞:
For example, consider the constant signal where π‘₯[𝑛] = 4. This signal has infinite
energy, as
+𝑁
𝐸∞ = lim βˆ‘
π‘β†’βˆž
𝑛=βˆ’π‘
+𝑁
|π‘₯[𝑛]|2
= lim βˆ‘ 42 = β‹― + 16 + 16 + 16 …
π‘β†’βˆž
𝑛=βˆ’π‘
However, the total average power is finite,
+𝑁
+𝑁
𝑛=βˆ’π‘
𝑛=βˆ’π‘
1
1
π‘ƒβˆž β‰œ lim
βˆ‘ |π‘₯[𝑛]|2 = lim
βˆ‘ 42
π‘β†’βˆž 2𝑁 + 1
π‘β†’βˆž 2𝑁 + 1
+𝑁
16
= lim
βˆ‘ 1
π‘β†’βˆž 2𝑁 + 1
𝑛=βˆ’π‘
16(2𝑁 + 1)
π‘β†’βˆž
2𝑁 + 1
= lim
= lim 16 = 16
π‘β†’βˆž
Case 3: Signals with neither π‘¬βˆž nor π‘·βˆž finite:
A simple example of such a case could be π‘₯(𝑑) = 𝑑. In this case both 𝐸∞ and π‘ƒβˆž are infinite.
Department of Computer Engineering
Page 3
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
1.2 Transformations of the Independent Variable
The transformation of a signal is one of the central concepts in the field of signals and systems.
We will focus on a very limited but important class of signal transformations that involves the
modifications of the independent variable, i.e., the time axis.
1.2.1
Examples of Transformations of the Independent Variable
Time Shift
The original and the shifted signals are identical in shape, but are displaced or shifted along the
time-axis with respect to each other. Signals could be termed as delayed or advanced in this
case.
Signals
Discrete-Time (DT)
Continuous-Time (CT)
𝒙[𝒏]
𝒙(𝒕)
𝒙[𝒏 βˆ’ π’πŸŽ ]
𝒙(𝒕 βˆ’ π’•πŸŽ )
Original
Delayed
𝟎
𝒏
𝒙[𝒏 + π’πŸŽ ]
𝟎
𝒕
𝒙(𝒕 + π’•πŸŽ )
Advanced
𝟎
𝒏
𝟎
𝒕
Such signals arise in applications such as radar, sonar and seismic signal processing. Several
receivers placed at different locations receive the time shifted signals due to the transmission
time they take while passing through a medium (air, water or rock etc.).
𝟎
𝒏
𝟎
𝒕
Department of Computer Engineering
Page 4
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
Time Reversal (Reflection)
In this case, the original signal is reflected about the time = 0. For example, if the original signal
is some audio recording, then the time reversed signal would be the audio recording played
backward.
Signals
Discrete-Time (DT)
Continuous-Time (CT)
𝒙[𝒏]
𝒙(𝒕)
𝒙[βˆ’π’]
𝒙(βˆ’π’•)
Original
Time Reversed
𝟎
𝒏
𝟎
𝒕
Time Scaling
𝟎
𝒕
In this case, if the original signal
is π‘₯(𝑑), the time𝒏 variable is multiplied𝟎 with a constant to
get a
time-scaled signal, e.g., π‘₯(2𝑑), π‘₯(5𝑑), or π‘₯(𝑑⁄2). If we think of the signal π‘₯(𝑑) as audio
recording, then π‘₯(2𝑑) is the audio recording played at twice the speed and π‘₯(𝑑⁄2) is the
recording played at half of the speed.
Signals
Continuous-Time (CT)
𝒙(𝒕)
Original
𝒙(π’•β„πŸ)
Stretching
𝟎
𝒙(πŸπ’•)
𝒕
𝟎
𝒕
Compressing
𝟎
Page 5
𝒕
Department of Computer Engineering
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
General Case of the Transformation of the Independent Variable
A general case for the transformation of independent variable is the one in which for the
original signal π‘₯(𝑑) is changed to the form π‘₯(𝛼𝑑 + 𝛽), where 𝛼 and 𝛽 are given numbers. It has
the following effects on the original signal:
ο‚·
ο‚·
ο‚·
ο‚·
ο‚·
ο‚·
The general shape of the signal is preserved.
The signal is linearly stretched if |𝛼| < 1.
The signal is linearly compressed if |𝛼| > 1.
The signal is delayed (shifted in time) if 𝛽 < 0.
The signal is advanced (shifted in time) if 𝛽 > 0.
The signal is reversed in time (reflected) if 𝛼 < 0.
Example 1.1
Given the signal π‘₯(𝑑) as shown in the figure below, the signal π‘₯(𝑑 + 1) can be obtained by
shifting the given signal to the left by one unit (as depicted in the following figure).
𝒙(𝒕)
Original Signal
βˆ’πŸ
𝟎
𝟏
𝟐
𝒕
𝒙(𝒕 + 𝟏)
Time Shifted Signal
βˆ’πŸ
𝟎
𝟏
𝟐
𝒕
The original signal can be written mathematically as:
0
1
π‘₯(𝑑) = {
2βˆ’π‘‘
0
𝑖𝑓
𝑑<0
𝑖𝑓 0 ≀ 𝑑 < 1
𝑖𝑓 1 ≀ 𝑑 < 2
𝑑β‰₯2
𝑖𝑓
Department of Computer Engineering
Page 6
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
To determine π‘₯(𝑑 + 1), the above definition of the original signal can be used. For example, to
calculate the value of π‘₯(𝑑 + 1) at 𝑑 = 0, we determine π‘₯(1), which according to the above
definition is π‘₯(1) = 1, therefore, π‘₯(𝑑 + 1) at 𝑑 = 0 is equal to 1.
Similarly, the signal π‘₯(βˆ’π‘‘ + 1) can be obtained using the mathematical definition or figure of
the original signal π‘₯(𝑑). If we use the mathematical definition, then making the following table
could be useful.
𝒕
βˆ’πŸ
βˆ’πŸ. πŸ“
βˆ’πŸ
βˆ’πŸŽ. πŸ“
𝟎
𝟎. πŸ“
𝟏
𝟏. πŸ“
𝟐
𝟐. πŸ“
πŸ‘
βˆ’π’• + 𝟏
3.0
2.5
2.0
1.5
1.0
0.5
0.0
βˆ’0.5
βˆ’1.0
βˆ’1.5
βˆ’2.0
𝒙(βˆ’π’• + 𝟏)
0
0
0
0.5
1
1
1
0
0
0
0
Plotting of this signal would give us the following figure:
𝒙(𝒕)
Original Signal
βˆ’πŸ
𝟎
𝟏
𝟐
𝒕
𝒙(βˆ’π’• + 𝟏)
Time Reversed Signal
βˆ’πŸ
𝟎
𝟏
𝟐
𝒕
In MATLAB®, the original signal can be written as an inline function. This function can then be
used to plot the original signal, the shifted signal and the time-reversed signal using the
following MATLAB® code.
>> g = inline(' ((t>=0)&(t<1)) + (2-t).*((t>=1) & (t<2))','t');
Department of Computer Engineering
Page 7
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
>> t = -3:0.001:3;
>> subplot(3,1,1), plot(t,g(t)), axis([-3 3 -0.1 1.1]), title('Original Signal')
>> subplot(3,1,2), plot(t,g(t+1)), axis([-3 3 -0.1 1.1]), title('Time-Shifted Signal')
>> subplot(3,1,3),plot(t,g(-t+1)),axis([-3 3 -0.1 1.1]), title('Time-Reversed Signal')
Original Signal
1
0.5
0
-3
-2
-1
0
1
2
3
1
2
3
1
2
3
Time-Shifted Signal
1
0.5
0
-3
-2
-1
0
Time-Reversed Signal
1
0.5
0
-3
-2
-1
0
Department of Computer Engineering
Page 8
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
1.2.2
Periodic Signals
A periodic continuous-time signal π‘₯(𝑑) is defined as
π‘₯(𝑑) = π‘₯(𝑑 + 𝑇)
where 𝑇 is a positive number called the period.
A typical example is that of a sinusoidal signal π‘₯(𝑑) = sin(𝑑) for βˆ’βˆž < 𝑑 < +∞. This is shown
in the figure below:
𝒙(𝒕)
βˆ’πŸ”π…
βˆ’πŸ’π…
βˆ’πŸπ…
𝟎
πŸπ…
πŸ’π…
πŸ”π…
𝒕
For the above signal, the period is 𝑇 = 2𝝅. It can be noticed that for any time 𝑑:
π’”π’Šπ’(𝒕 + πŸπ…) = π’”π’Šπ’(𝒕)
Also
π’”π’Šπ’(𝒕 + π’ŽπŸπ…) = π’”π’Šπ’(𝒕)
where π’Ž is an integer.
The fundamental period 𝑇0 of π‘₯(𝑑) is the smallest positive value of 𝑇 for
which the equation π‘₯(𝑑) = π‘₯(𝑑 + 𝑇) holds.
Periodic signals are defined analogously in discrete-time.
A discrete-time signal π‘₯[𝑛] is periodic with period 𝑁, where 𝑁is a positive
integer, if it is unchanged by a time-shift of 𝑁, i.e., if
π‘₯[𝑛] = π‘₯[𝑛 + 𝑁]
for all values of 𝑛.
The fundamental period 𝑁0 of π‘₯[𝑛] is the smallest positive value of 𝑁 for
which the equation π‘₯[𝑛] = π‘₯[𝑛 + 𝑁0 ] holds.
Department of Computer Engineering
Page 9
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
An example of a discrete-time periodic signal is given in the following diagram.
𝒙[𝒏]
𝒏
1.2.3
Even and Odd Signals
A signal π‘₯(𝑑) or π‘₯[𝑛] is defined as an even signal if it is identical to its time-reversed
counterpart, i.e., with its reflection about the origin.
𝒙(βˆ’π’•) = 𝒙(𝒕)
𝒙[βˆ’π’] = 𝒙[𝒏]
Even continuous-time Signal
Even Discrete-time Signal
𝒙(𝒕)
βˆ’πŸ”π…
βˆ’πŸ’π…
βˆ’πŸπ…
𝟎
πŸπ…
πŸ’π…
πŸ”π…
𝒕
A signal π‘₯(𝑑) or π‘₯[𝑛] is defined as an odd signal if,
𝒙(βˆ’π’•) = βˆ’π’™(𝒕)
Odd continuous-time Signal
𝒙[βˆ’π’] = βˆ’π’™[𝒏]
Odd Discrete-time Signal
As a special case, the odd signal must be zero at 𝑑 = 0 or 𝑛 = 0. Examples of odd signals are
given in the following figure.
𝒙(𝒕)
βˆ’πŸ”π…
βˆ’πŸ’π…
βˆ’πŸπ…
𝟎
πŸπ…
πŸ’π…
πŸ”π…
𝒕
Department of Computer Engineering
Page 10
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
An important fact is that any signal (continuous-time or discrete-time) can be broken into a sum
of two signals, one of which is even and one of which is odd.
Signal
Component
Mathematical Form
Even Part
1
ℰ𝑣 {π‘₯(𝑑)} = [π‘₯(𝑑) + π‘₯(βˆ’π‘‘)]
2
1
π’ͺ𝑑 {π‘₯(𝑑)} = [π‘₯(𝑑) βˆ’ π‘₯(βˆ’π‘‘)]
2
1
ℰ𝑣 {π‘₯[𝑛]} = [π‘₯[𝑛] + π‘₯[βˆ’π‘›]]
2
1
π’ͺ𝑑 {π‘₯[𝑛]} = [π‘₯[𝑛] βˆ’ π‘₯[βˆ’π‘›]]
2
Continuous-time Signal 𝒙(𝒕)
Odd Part
Even Part
Discrete-time Signal 𝒙[𝒏]
Odd Part
A Discrete-Time Signal
𝟏, 𝒏 β‰₯ 𝟎
𝒙[𝒏] = {
𝟎, 𝒏 < 0
𝟏
βˆ’πŸ‘ – 𝟐 βˆ’ 𝟏 𝟎 𝟏
𝟐 πŸ‘
𝒏
Odd Part
Even Part
πŸβ„πŸ , 𝒏 < 0
ℰ𝑣 [𝒏] = { 𝟏, 𝒏 = 𝟎
πŸβ„πŸ , 𝒏 > 0
𝟏
βˆ’πŸβ„πŸ , 𝒏 < 0
π’ͺ𝑑 [𝒏] = { 𝟎, 𝒏 = 𝟎
πŸβ„πŸ , 𝒏 > 0
𝟏
𝟏
𝟐
βˆ’πŸ‘ – 𝟐 βˆ’ 𝟏 𝟎 𝟏
βˆ’πŸ‘ βˆ’ 𝟐 – 𝟏
𝟐 πŸ‘
𝟏
𝟐
𝟎 𝟏
𝒏
𝟐 πŸ‘
𝒏
𝟏
βˆ’
𝟐
Department of Computer Engineering
Page 11
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
1.3 Exponential and Sinusoidal Signals
1.3.1 Continuous-Time Complex Exponential and Sinusoidal
Signals
A continuous-time complex signal π‘₯(𝑑) can be written as
π‘₯(𝑑) = 𝐢𝑒 π‘Žπ‘‘
where 𝐢 and π‘Ž are, in general, complex numbers.
(1.20)
Real Exponential Signals
In this case both 𝐢 and π‘Ž are real numbers, and π‘₯(𝑑) is called a real exponential.
Continuous-time Real Exponential with a>0
Continuous-time Real Exponential with a<0
x(t)=Ceat, C>1, a>1
x(t)=Ceat, C>0, a<0
C
C
t
t
Periodic Complex Exponential and Sinusoidal Signals
Now we consider the case of complex exponentials where π‘Ž is purely imaginary. More,
specifically, we consider:
π‘₯(𝑑) = 𝑒 π‘—πœ”0 𝑑
(1.21)
An important property of this signal is that it is periodic. Let’s explore this.
By definition π‘₯(𝑑) is periodic, if
Department of Computer Engineering
Page 12
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
π‘₯(𝑑) = π‘₯(𝑑 + 𝑇)
for some real value of 𝑇. Therefore,
𝑒 π‘—πœ”0 𝑑 = 𝑒 π‘—πœ”0 (𝑑+𝑇)
Or,
𝑒 π‘—πœ”0 𝑑 = 𝑒 π‘—πœ”0 𝑑 𝑒 π‘—πœ”0 𝑇
β‡’ 𝑒 π‘—πœ”0 𝑇 = 1
(1.23)
This equation can be true,
1
2
If, πœ”0 = 0, then π‘₯(𝑑) = 1, which is periodic for any value of 𝑇.
If, πœ”0 β‰  0, then the fundamental period 𝑇0 of π‘₯(𝑑), i.e. the smallest value of 𝑇 for
which equation (1.23) holds, is
𝑇0 =
2πœ‹
|πœ”0 |
(1.24)
Replacing the value of 𝑇with this 𝑇0 in equation (1.23), and using Euler’s formula,
that is,
𝑒 π‘—πœ”0 𝑇 = cos(πœ”0 𝑇) + 𝑗sin(πœ”0 𝑇)
We get
𝑒 π‘—πœ”0 𝑇 = cos(2πœ‹) + 𝑗 sin(2πœ‹) = 1 + 𝑗0 = 1
Therefore, the signal π‘₯(𝑑) as given by equation (1.21) is a periodic signal. Similarly, it can be
shown that the signal π‘₯(𝑑) = 𝑒 βˆ’π‘—πœ”0 𝑑 has the same fundamental period.
A closely associated signal is the sinusoidal signal
π‘₯(𝑑) = 𝐴 cos(πœ”0 𝑑 + πœ™)
(1.25)
Department of Computer Engineering
Page 13
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
Continuous-Time Sinusoidal Signal
x(t)=A cos( 0 t+  )
A
A cos(  )
t
Using Euler’s formula, the complex exponential of equation (1.21) can be written as
π‘₯(𝑑) = 𝑒 π‘—πœ”0 𝑑 = cos(π‘—πœ”0 𝑑) + 𝑗 sin(π‘—πœ”0 𝑑)
(1.26)
Similarly, the sinusoidal signal of equation (1.25) can be written as
𝐴 cos(πœ”0 𝑑 + πœ™) = 𝐴 (
𝑒 𝑗(πœ”0 𝑑+πœ™) + 𝑒 βˆ’π‘—(πœ”0 𝑑+πœ™)
𝐴
𝐴
) = 𝑒 π‘—πœ™ 𝑒 π‘—πœ”0 𝑑 + 𝑒 βˆ’π‘—πœ™ 𝑒 βˆ’π‘—πœ”0 𝑑
2
2
2
(1.27)
It can noted that the two exponentials in equation 1.27 have complex amplitudes. If we define
β„œβ„―{𝑐} as the real component of a complex number 𝑐, and ℑ𝓂{𝑐} as the imaginary part of 𝑐,
then
𝐴 cos(πœ”0 𝑑 + πœ™) = 𝐴 β„œβ„―{𝑒 𝑗(πœ”0 𝑑+πœ™) }
𝐴 sin(πœ”0 𝑑 + πœ™) = 𝐴 ℑ𝓂{𝑒 𝑗(πœ”0 𝑑+πœ™) }
(1.28)
(1.29)
Frequency and Period
From equation 1.24, it is clear that the fundamental period 𝑇0 of a continuous-time sinusoidal
or a periodic complex exponential signal, is inversely proportional to the |πœ”0 |, which is called
the fundamental frequency. If we decrease the value of the magnitude of πœ”0 , we slow down the
rate of oscillations and hence increase the period 𝑇0 . Alternatively, if we increase the value of
the magnitude of πœ”0 , we increase the rate of oscillations and hence decrease the period 𝑇0 .
Energy and Power
Over the one fundamental period 𝑇0 of a continuous-time sinusoidal or a periodic complex
exponential signal, the signal energy and power can be determined as:
Department of Computer Engineering
Page 14
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
𝑇0
𝑇0
πΈπ‘π‘’π‘Ÿπ‘–π‘œπ‘‘ = ∫ |𝑒
𝑇0
π‘ƒπ‘π‘’π‘Ÿπ‘–π‘œπ‘‘ =
π‘—πœ”0 𝑑 2
(1.30)
| 𝑑𝑑 = ∫ 1𝑑𝑑 = 𝑇0
0
0
𝑇0
1
1
𝑇0
2
∫ |𝑒 π‘—πœ”0 𝑑 | 𝑑𝑑 = ∫ 1𝑑𝑑 = = 1
𝑇0
𝑇0
𝑇0
0
(1.31)
0
As there are an infinite number of periods as 𝑑 ranges from βˆ’βˆž to +∞, the total energy
integrated over all time is infinite. The total average power is however remains 1, as by
definition,
𝑇
1
1
2
π‘ƒβˆž = lim
∫|𝑒 π‘—πœ”0 𝑑 | 𝑑𝑑 = lim
2𝑇 = 1
π‘‡β†’βˆž 2𝑇
π‘‡β†’βˆž 2𝑇
(1.32)
βˆ’π‘‡
Harmonics of a Periodic Complex Exponential
We have noted that,
𝑒 π‘—πœ”π‘‡0 = 1
(1.33)
which implies that πœ”π‘‡0 is a multiple of 2πœ‹, i.e.,
πœ”π‘‡0 = 2πœ‹π‘˜,
where π‘˜ = 0, ±1, ±2, β‹―
(1.34)
This shows that πœ” must be an integer multiple of πœ”0 , i.e., the fundamental frequency. We can
therefore, write
πœ™π‘˜ (𝑑) = 𝑒 π‘—π‘˜πœ”0 𝑑 ,
where π‘˜ = 0, ±1, ±2, β‹―
(1.36)
This is called the k-harmonic of the complex exponential signal.
General Complex Exponential Signals
The general complex exponential signals are of the form
π‘₯(𝑑) = 𝐢𝑒 π‘Žπ‘‘
Where both 𝐢 and π‘Ž are complex numbers. Let us represent them as
𝐢 = |𝐢|𝑒 π‘—πœƒ
π‘Ž = π‘Ÿ + π‘—πœ”0
Thus 𝐢 is written in polar form and π‘Ž is written in Cartesian form, then
Department of Computer Engineering
Page 15
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
π‘₯(𝑑) = 𝐢𝑒 π‘Žπ‘‘ = |𝐢|𝑒 π‘—πœƒ 𝑒 (π‘Ÿ+π‘—πœ”0 )𝑑 = |𝐢|𝑒 π‘Ÿπ‘‘ 𝑒 𝑗(πœ”0 𝑑+πœƒ)
(1.42)
Using Euler’s formula, it can be written as
π‘₯(𝑑) = 𝐢𝑒 π‘Žπ‘‘ = |𝐢|𝑒 π‘Ÿπ‘‘ cos(πœ”0 𝑑 + πœƒ) + 𝑗|𝐢|𝑒 π‘Ÿπ‘‘ sin(πœ”0 𝑑 + πœƒ)
1
2
3
(1.43)
For π‘Ÿ = 0, the real and imaginary parts of a complex exponential are sinusoidal.
For π‘Ÿ > 0, they correspond to sinusoidal signals multiplied with growing exponential.
For π‘Ÿ < 0, they correspond to sinusoidal signals multiplied with decreasing exponentials.
This is shown graphically on the next page.
Department of Computer Engineering
Page 16
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
x(t)= |C| ertcos(0 t+  )
t
x(t)= |C| e-rtcos(0 t+  )
t
Department of Computer Engineering
Page 17
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
1.2.4
Periodic Signals (Recap)
A periodic continuous-time signal π‘₯(𝑑) is defined as
π‘₯(𝑑) = π‘₯(𝑑 + 𝑇)
where 𝑇 is a positive number called the period.
A typical example is that of a sinusoidal signal π‘₯(𝑑) = sin(𝑑) for βˆ’βˆž < 𝑑 < +∞. This is shown
in the figure below:
𝒙(𝒕)
βˆ’πŸ”π…
βˆ’πŸ’π…
βˆ’πŸπ…
𝟎
πŸπ…
πŸ’π…
πŸ”π…
𝒕
For the above signal, the period is 𝑇 = 2𝝅. It can be noticed that for any time 𝑑:
π’”π’Šπ’(𝒕 + πŸπ…) = π’”π’Šπ’(𝒕)
Also
π’”π’Šπ’(𝒕 + π’ŽπŸπ…) = π’”π’Šπ’(𝒕)
where π’Ž is an integer.
The fundamental period 𝑇0 of π‘₯(𝑑) is the smallest positive value of 𝑇 for
which the equation π‘₯(𝑑) = π‘₯(𝑑 + 𝑇) holds.
Periodic signals are defined analogously in discrete-time.
A discrete-time signal π‘₯[𝑛] is periodic with period 𝑁, where 𝑁is a positive
integer, if it is unchanged by a time-shift of 𝑁, i.e., if
π‘₯[𝑛] = π‘₯[𝑛 + 𝑁]
for all values of 𝑛.
The fundamental period 𝑁0 of π‘₯[𝑛] is the smallest positive value of 𝑁 for
which the equation π‘₯[𝑛] = π‘₯[𝑛 + 𝑁0 ] holds.
Department of Computer Engineering
Page 18
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
An example of a discrete-time periodic signal is given in the following diagram.
𝒙[𝒏]
𝒏
1.2.5
Even and Odd Signals (Recap)
A signal π‘₯(𝑑) or π‘₯[𝑛] is defined as an even signal if it is identical to its time-reversed
counterpart, i.e., with its reflection about the origin.
𝒙(βˆ’π’•) = 𝒙(𝒕)
π‘₯[βˆ’π‘›] = π‘₯[𝑛]
Even continuous-time Signal
Even Discrete-time Signal
𝒙(𝒕)
βˆ’πŸ”π…
βˆ’πŸ’π…
βˆ’πŸπ…
𝟎
πŸπ…
πŸ’π…
πŸ”π…
𝒕
A signal π‘₯(𝑑) or π‘₯[𝑛] is defined as an odd signal if,
𝒙(βˆ’π’•) = βˆ’π’™(𝒕)
Odd continuous-time Signal
π‘₯[βˆ’π‘›] = βˆ’π‘₯[𝑛]
Odd Discrete-time Signal
As a special case, the odd signal must be zero at 𝑑 = 0 or 𝑛 = 0. Examples of odd signals are
given in the following figures.
𝒙(𝒕)
βˆ’πŸ”π…
βˆ’πŸ’π…
βˆ’πŸπ…
𝟎
πŸπ…
πŸ’π…
πŸ”π…
𝒕
Department of Computer Engineering
Page 19
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
An important fact is that any signal (continuous-time or discrete-time) can be broken into a sum
of two signals, one of which is even and one of which is odd.
Signal
Component
Mathematical Form
Even Part
1
ℰ𝑣 {π‘₯(𝑑)} = [π‘₯(𝑑) + π‘₯(βˆ’π‘‘)]
2
1
π’ͺ𝑑 {π‘₯(𝑑)} = [π‘₯(𝑑) βˆ’ π‘₯(βˆ’π‘‘)]
2
1
ℰ𝑣 {π‘₯[𝑛]} = [π‘₯[𝑛] + π‘₯[βˆ’π‘›]]
2
1
π’ͺ𝑑 {π‘₯[𝑛]} = [π‘₯[𝑛] βˆ’ π‘₯[βˆ’π‘›]]
2
Continuous-time Signal 𝒙(𝒕)
Odd Part
Even Part
Discrete-time Signal 𝒙[𝒏]
Odd Part
A Discrete-Time Signal
𝟏, 𝒏 β‰₯ 𝟎
𝒙[𝒏] = {
𝟎, 𝒏 < 0
𝟏
βˆ’πŸ‘ – 𝟐 βˆ’ 𝟏 𝟎 𝟏
𝟐 πŸ‘
𝒏
Odd Part
Even Part
πŸβ„πŸ , 𝒏 < 0
ℰ𝑣 [𝒏] = { 𝟏, 𝒏 = 𝟎
πŸβ„πŸ , 𝒏 > 0
𝟏
βˆ’πŸβ„πŸ , 𝒏 < 0
π’ͺ𝑑 [𝒏] = { 𝟎, 𝒏 = 𝟎
πŸβ„πŸ , 𝒏 > 0
𝟏
𝟏
𝟐
βˆ’πŸ‘ – 𝟐 βˆ’ 𝟏 𝟎 𝟏
βˆ’πŸ‘ βˆ’ 𝟐 – 𝟏
𝟐 πŸ‘
𝟏
𝟐
𝟎 𝟏
𝒏
𝟐 πŸ‘
𝒏
𝟏
βˆ’
𝟐
Department of Computer Engineering
Page 20
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
1.3.2
Discrete-Time Complex Exponential and Sinusoidal
Signals
A discrete-time complex exponential signal or sequence π‘₯[𝑛] can be written as
π‘₯[𝑛] = 𝐢𝛼 𝑛
where 𝐢 and 𝛼 are, in general, complex numbers. This could also be written as
(1.44)
π‘₯[𝑛] = 𝐢𝑒 𝛽𝑛
(1.45)
where
𝛼 = 𝑒𝛽
The form given in equation (1.44) is more often used in discrete-time signal processing.
Real Exponential Signals
In this case both 𝐢 and 𝛼 are real numbers, and π‘₯[𝑛] is called a real exponential. We see
different types of behaviors, as shown below in the figure.
Discrete-time Real Exponential with 0<  <1
x[n]=C  n, C=1,  =0.9
Discrete-time Real Exponential with  >1
x[n]=C  n, C=1,  =1.1
n
n
Department of Computer Engineering
Page 21
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
Discrete-time Real Exponential with -1<  <0
x[n]=C  n, C=1,  =-0.9
Discrete-time Real Exponential with  <-1
x[n]=C  n, C=1,  =-1.1
n
n
Sinusoidal Signals
Another important complex exponential is obtained by using the form given in equation 1.45,
and by considering 𝛽 to be purely imaginary (so that |𝛼| = 1). More, specifically, we consider:
π‘₯[𝑛] = 𝑒 π‘—πœ”0 𝑛
(1.46)
A closely associated signal is the sinusoidal signal
π‘₯[𝑛] = 𝐴 cos(πœ”0 𝑛 + πœ™)
(1.47)
Using Euler’s formula, the complex exponential of equation (1.47) can be written as
π‘₯[𝑛] = 𝑒 π‘—πœ”0 𝑛 = cos(πœ”0 𝑛) + 𝑗 sin(πœ”0 𝑛)
(1.48)
Similarly, the sinusoidal signal of equation (1.25) can be written as
𝑒 𝑗(πœ”0 𝑛+πœ™) + 𝑒 βˆ’π‘—(πœ”0 𝑛+πœ™)
𝐴
𝐴
𝐴 cos(πœ”0 𝑛 + πœ™) = 𝐴 (
) = 𝑒 π‘—πœ™ 𝑒 π‘—πœ”0 𝑛 + 𝑒 βˆ’π‘—πœ™ 𝑒 βˆ’π‘—πœ”0 𝑛
2
2
2
(1.49)
It can noted that the two exponentials in equation 1.27 have complex amplitudes. If we define
β„œβ„―{𝑐} as the real component of a complex number 𝑐, and ℑ𝓂{𝑐} as the imaginary part of 𝑐,
then
Department of Computer Engineering
Page 22
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
𝐴 cos(πœ”0 𝑛 + πœ™) = 𝐴 β„œβ„―{𝑒 𝑗(πœ”0 𝑛+πœ™) }
𝐴 sin(πœ”0 𝑛 + πœ™) = 𝐴 ℑ𝓂{𝑒 𝑗(πœ”0 𝑛+πœ™) }
(a) x[n]=cos(2 n/12)
n
(b) x[n]=cos(8 n/31)
n
(c) x[n]=cos(n/6)
n
Department of Computer Engineering
Page 23
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
General Complex Exponential Signals
The general discrete-time complex exponential signals are of the form
π‘₯[𝑛] = 𝐢𝛼 𝑛
where both 𝐢 and 𝛼 are complex numbers. Let us represent them as
𝐢 = |𝐢|𝑒 π‘—πœƒ
𝛼 = |𝛼|𝑒 π‘—πœ”0
Thus 𝐢 and 𝛼 are written in polar form, then
π‘₯[𝑛] = 𝐢𝛼 𝑛 = |𝐢|𝑒 π‘—πœƒ |𝛼|𝑛 𝑒 π‘—πœ”0 𝑛 = |𝐢||𝛼|𝑛 𝑒 𝑗(πœ”0 𝑛+πœƒ)
Using Euler’s formula, it can be written as
π‘₯[𝑛] = 𝐢𝛼 𝑛 = |𝐢||𝛼|𝑛 cos(πœ”0 𝑛 + πœƒ) + 𝑗|𝐢||𝛼|𝑛 sin(πœ”0 𝑛 + πœƒ)
4
5
6
(1.50)
For |𝛼| = 1, the real and imaginary parts of a complex exponential are sinusoidal.
For |𝛼| > 1, they correspond to sinusoidal signals / sequences multiplied with growing
exponential.
For |𝛼| < 1, they correspond to sinusoidal signals / sequences multiplied with decreasing
exponentials.
This is shown graphically on the next page.
Department of Computer Engineering
Page 24
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
Growing Sinusoidal Signal
n
Decaying Sinusoidal Signal
n
Department of Computer Engineering
Page 25
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
1.3.3
Periodicity Property of Discrete-Time Complex
Exponential
There are many similarities between continuous-time and discrete-time signals. But also there
are many important differences. One of them is related with the discrete-time exponential
signal 𝑒 π‘—πœ”0 𝑛 .
The following properties were found with regard to the continuous-time exponential signal
𝑒 π‘—πœ”0 𝑑 :
1. The larger the magnitude of πœ”0 , the higher is the rate of oscillations in the signal;
2. 𝑒 π‘—πœ”0 𝑑 is periodic for any value of πœ”0 .
Let us now see how these properties are different in the discrete-time case:
1. To see the difference for the first property, consider the discrete-time complex
exponential:
𝑒 𝑗(πœ”0 +2πœ‹)𝑛 = 𝑒 𝑗2πœ‹π‘› 𝑒 π‘—πœ”0 𝑛 = 𝑒 π‘—πœ”0 𝑛
(1.51)
This shows that the exponential at πœ”0 + 2πœ‹ is the same as that at frequency πœ”0 .
This is very different when compared with the continuous-time exponential case, in
which the signals 𝑒 π‘—πœ”0 𝑑 are all distinct for distinct values of πœ”0 .
ο‚· In discrete-time, these signals are not distinct. In fact, the signal with
frequency πœ”0 is identical to signals with frequencies πœ”0 ± 2πœ‹, πœ”0 ± 4πœ‹ and
so on. Therefore, in considering discrete-time complex exponentials, we
need only consider a frequency interval of size 2πœ‹. The most commonly used
2πœ‹ intervals are 0 ≀ πœ”0 ≀ 2πœ‹ or the interval βˆ’πœ‹ ≀ πœ”0 ≀ πœ‹.
ο‚· Due to equation 1.51, as πœ”0 is gradually increased, the rate of oscillations in
the discrete-time signal does not keep on increasing. If πœ”0 is increased from
0 to 2πœ‹, the rate of oscillations first increase and then decreases. This is
shown in the figure 1.27 below.
ο‚· Note in particular that for πœ”0 = πœ‹ or for any odd multiple of πœ‹,
𝑛
(1.52)
𝑒 π‘—πœ‹π‘› = (𝑒 π‘—πœ‹ ) = (βˆ’1)𝑛
so that the signal oscillates rapidly, changing sign at each point in time (see
figure 1.27).
Department of Computer Engineering
Page 26
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
x[n] = cos( n/8)
x[n] = cos(0*n)
x[n] = cos( n/4)
1
1
1
0.5
0
0
0
0
10
20
30
-1
0
x[n] = cos( n/2)
10
20
30
-1
1
1
0
0
0
0
10
20
30
-1
0
x[n] = cos(7 n/4)
10
20
30
-1
1
0
0
0.5
10
20
30
-1
0
10
20
20
30
10
20
30
x[n] = cos(2 n)
1
0
0
x[n] = cos(15 n/8)
1
-1
10
x[n] = cos(3 n/2)
1
-1
0
x[n] = cos( n)
30
0
0
10
20
30
Figure 1.27: Discrete-time sinusoidal sequences for several different frequencies
2. The second property is the periodicity of the discrete-time complex exponential
signals.
𝑒 π‘—πœ”0 (𝑛+𝑁) = 𝑒 π‘—πœ”0 𝑛
(1.53)
Or equivalently,
𝑒 π‘—πœ”0 𝑁 = 1
Equation 1.54 could only be true if πœ”0 𝑁 is a multiple of 2πœ‹
πœ”0 𝑁 = 2πœ‹π‘š
(1.54)
(1.55)
Or
πœ”0 π‘š
(1.56)
=
2πœ‹ 𝑁
This equation (1.56) means that the discrete-time signal 𝑒 π‘—πœ”0 𝑛 is periodic only when
πœ”0
is a rational number (i.e. it could written as a fraction).
2πœ‹
Department of Computer Engineering
Page 27
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia
CEN340 Signals and Systems by Dr. Abdulwadood Abdulwaheed
Lecture material courtesy of Dr. Anwar M. Mirza
Lecture No. 02
Date: June 11, 2012
Table 1.1 Comparison of the signals π’†π’‹πŽπŸŽ 𝒕 and π’†π’‹πŽπŸŽ 𝒏 .
π’†π’‹πŽπŸŽπ’•
π’†π’‹πŽπŸŽπ’
Distinct signals for distinct values of 𝝎𝟎 .
Periodic for any choice of 𝝎𝟎 .
Identical signals for values of πœ”0 separated by
multiples of 2πœ‹.
Periodic only if πœ”0 = 2πœ‹π‘šβ„π‘ for some
integer 𝑁 > 0 and π‘š.
Fundamental frequency 𝝎𝟎 .
Fundamental period
Fundamental frequency πœ”0 /π‘š.
Fundamental period
𝝎𝟎 = 𝟎: undefined
πŸπ…
𝝎𝟎 β‰  𝟎: 𝝎
πœ”0 = 0: undefined
2πœ‹
πœ”0 β‰  0: π‘š (πœ” )
𝟎
0
Department of Computer Engineering
Page 28
College of Computer & Information Sciences, King Saud University
Ar Riyadh, Kingdom of Saudi Arabia