DSP Presentation - 2
DSP Presentation - 2
1 for n 1,3
x (n) 4 for n 2 (1)
0 elsewhere
2. Tabular representation, such as
n 2 1 0 1 2 3 4 5
(2)
x(n) 0 0 0 1 4 1 0 0
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, 0 0 (3)
October 28, 2022 2
Alternative representations Discrete Time Signals
1, for n 0
u (n)
0, for n 0
Figure 3: Graphical representation of
Figure 3 illustrates the unit step signal. the unit step signal.
n, for n 0
ur (n)
0, for n 0
a r e j
where r and θ are now the parameters.
x ( n) r n e j n r n (cos n j sin n)
Since x(n) is now complex valued, it can be represented graphically by plotting the
real part
xR (n) r n cos n
(a) (b)
2
E x(n)
n
We have used the magnitude-squared values of x(n), so that our definition applies to
complex-valued signals as well as real-valued signals.
The energy of a signal can be finite or infinite.
If E is finite (i.e., 0 < E < ∞), then x(n) is called an energy signal.
Some time we add a subscript x to E and Ex is the energy of the signal x(n).
2
EN x ( n)
n N
The smallest value of N for which (Eq. 1) holds is called the (fundamental) period.
If there is no value of N that satisfies (Eq. 1), the signal is called nonperiodic or
aperiodic.
The sinusoidal signal of the form
x(n) A sin 2 f 0 n
is periodic when f0 is a rational number, that is, if f0 can be expressed as
k
f0
N
where k and N are integers.
(a) (b)
Figure 8: Examples of (a) even signal and (b) odd signal.
October 28, 2022 12
Discrete-Time Systems
A system as an operation or a set of operations performed on the input signal x(n) to
produce the output signal y(n).
The input signal x(n) is transformed by the system in to a signal y(n), and express the
general relationship between x(n) and y(n) as T
It is not necessary to store either one of the sequences in order to perform the
addition.
The addition operation is memoryless.
3. A signal multiplier:
y ( n) x (n) 3 x (n 1)
n
y (n) x( n k )
k 0
y (n) x( n k )
k 0
y ( n ) T x( n) ]
Now suppose that the same input signal is delayed by k units of time to yield x(n - k),
and again applied to the same system.
If the characteristics of the system do not change with time, the output of the
relaxed system will be y(n - k).
That is, the output will be the same as the response to x(n), except that it will be
delayed by the same k units in time that the input was delayed.
This leads us to define a time-invariant or shift-invariant system as follows.
We delay the input sequence by same amount k and recompute the output.
In general, we can write the output as
y ( n, k ) Τ x ( n k ) ]
Now if this output y(n, k) = T [x(n - k), for all possible values of k, the system is time
invariant.
On the other hand, if the output y(n, k) ≠ y(n - k), even for one value of k, the system
is time variant.
That is, if the response of the system to the input x1(n) is y1(n), the response to a1x1(n) is
simply a1y1(n).
Thus any scaling of the input results in an identical scaling of the corresponding output.
Second, suppose that a1 = a2 = 1, then
Τ [x1 ( n ) x2 ( n )] Τ [x1 ( n)] Τ [x2 ( n)]
y1 ( n) y2 (n)
This relation demonstrates the additivity property of a linear system.
The additivity and multiplicative properties constitute the superposition principle as it
applies to linear systems.
In general, we have
M 1 M 1
x (n) ak xk (n)
y (n)
T
a k yk (n )
k 1 k 1
In other words, are laxed, a linear system with zero input produces a zero output.
If a system produces a nonzero output with a zero input, the system may be either
nonrelated or nonlinear.
If a relax ed system does not satisfy the super position principle as given by the
definition above, it is called nonlinear.
Definition:
(a) (b)
Figure 16: (a) Cascade interconnections of systems and
(b) parallel interconnections of systems.
y1 (n) T1 [ x( n) ]
T c T1 T 2
Consequently, we can express the output of the combined system as
y (n) T c [ x(n)]]
In general, the order in which the operations T1 and T2 are performed is important.
That is,
T 2 T1 T 1 T 2
for arbitrary systems.
October 28, 2022 29
Interconnection to Discrete-Time Systems
If the systems T1 and T2 are linear and time invariant, then (a) Tc is time invariant and
(b) T2T1 = T1T2, that is, the order in which the systems process the signal is not
important.
T2T2 and T1T2 yield identical output sequences.
To prove time invariance, suppose that T1 and T2 are time invariant; then
T1
x ( n k ) y1 ( n k ) and
T2
y1 ( n k ) y(n k )
Thus,
T T T
x(n k )
c 2 1
y (n k )
where Tp = T1 + T2.