Professional Documents
Culture Documents
Lecture 2
Dr. Muayad
3rd year
1
Discrete –Time Signals
2.1 Discrete time signals
The discrete time signal is a function of an independent variable
that is an integer. It is graphically represented as Figure (2-1). It is
important to note that a discrete time signal is not defined at instants
between two successive samples. Also it is incorrect to think that x(n) is
equal to zero if n is not an integer.
2
There are some alternative representation of the discrete time signal that
are often more convenient to use. These are
1. Functional representation, such as
1 for n 1,3
x(n) 4 for n 2 … (2.4)
0 otherwise
n … -2 -1 0 1 2 3 …..
x(n) … 0 0 0 1 4 1 ….
…..
3. Sequence representation
An infinite-duration signal or sequence with the time origin (n=0)
indicated by the symbol ↑is represented as
x(n) ,0,0,1,4,1,8,3,0,0, …. (2.5)
A finite-duration sequence can be represented as
x(n) 3,1,2,5,0,3 … (2.6)
The signal in equation (2.6) consists of six samples or point (in
time), so it is called six-point sequence
3
Figure (2-2) The graphical representation of unit sample signal
4
x(n) e jwn cos(wn) j sin( wn) … (2.13)
one component of complex exponential signal is illustrated in
Figure (2-5).
5
3. Time Scaling This transformation is defined by
f (n) = Mn or
f (n) = n/ N
where M,N are positive integers.
In the case of f (n) = Mn, the sequence x(Mn) is formed by taking
every Mth sample of x(n).
With f (n) = n/N the sequence y(n) =x(n/N) is
n
x( ) n 0, N , 2 N ,...
y ( n) N …(2.14)
0 otherwise
Solution: -
The function u(n 2) is unit step shifted by two to the positive side as
shown in Figure (2-6)
u(n-2)
1
0.8
0.6
0.4
0.2
0
0 1 2 3 4 5 6
n
6
Example 2.2: Find the mathematical expression for the signal shown in
Figure (2-7)
x(n)
1
0.8
0.6
0.4
0.2
0
-4 -3 -2 -1 0 1 2 3 4 5
n
7
H.w : For the signal shown below ,sketch the following signals
a. X(n-2)
b. X(n+3).δ(n-2)
c. X(n-1)+u(-n+1)
8
Example 2.3: - Find the even and odd parts of the following signal:
Therefore, the even part of the unit step is a sequence that has a constant
value of for all n except at n = 0, where it has a value of 1.
9
Rational function (ratio of two integers), cancels the common factor such
that K & N are relatively prime. Then the fundamental period of a sinusoid
is equal to N
For example
31
f1 implies that N1 30
60
30
Where is f2 result in N2 2
60
Where gcd(N1, N2) means the greatest common divisor of N1 and N2.
The same is true for the product; that is will be periodic with a period N.
Example 2.4: Determine if the following signal is periodic or not then
n
find its period x(n) cos
4
Solution:-
n
x(n) cos w
4 4
w 1 k
f rational function
2 8 N
10
Homework:-
1. Represent the unit step function using impulse function
2. Represent the impulse function using unit step function
3. Represent the ramp function using unit step function
4. Sketch the following signal x(n) exp(0.2n)
x(n)
8
0
-6 -5 -4 -3 -2 -1 0 1 2 3
n
11