Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2020
1
12.02.2020
a. In this case the output is exactly the same as the input signal. Such a system is
known as the identity system.
b. This system simply delays the input by one sample. Thus its output is given by:
c. In this case the system "advances" the input one sample into the future. For
example, the value of the output at time n = 0 is y(0) = x(1). ). The response of this
system to the given input is :
d. The output of this system at any time is the mean value of the present, the
immediate past, and the immediate future samples. For example, the output at time
n = 0 is:
Repeating this computation for every value of n, we obtain the output signal:
e. This system selects as its output at time n the maximum vaiue of the three Input
samples x(n-1), x(n), and x(n+1). Thus the response of this system to the
input signal x(n) is:
f. This system is basically an accumularor that computes the running sum of all
the past input values up to present time. The response of this system to the
given input is
2
12.02.2020
3
12.02.2020
4
12.02.2020
10
5
12.02.2020
implies that
Now if this output y(n,k) = y(n - k), for all possible values of &, 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 variantk.
11
11
Example 1. 6.
Since the right-hand sides are identical, it follows that y(n, k) = y(n - k).
Therefore, the system is time invariant.
12
12
6
12.02.2020
13
13
14
14
7
12.02.2020
Now, if we delay the output y(n), by k units and the result is compared to
it is evident that the system is time variant.
15
15
16
16
8
12.02.2020
17
17
were:
were
18
18
9
12.02.2020
19
19
...., x ( n − M )]
N M
Specifically, for an LTI system y (n) = − a y(n − k ) +
k
b x(n − k )
k
k =1 k =0
Were {ak} and {bk} are constant parameters that specify the system and
are independent and x(n) şi y(n).
20
20
10
12.02.2020
To elaborate, suppose that the input signal x (n) s resolved into a weighted
sum of elementary signal components xk(n):
x ( n) = ck xk ( n)
k
Were {ck} are the set of ampiitudes (weighting coefficients) in the decom-
position of the signal x(n). Now suppose that the response of the system to
the elementary signal component xk (n) is yk (n). Then:
y ( n ) =T [ xk (n)]
k
assuming that the system is relaxed and that the response to ckxk (n) is
ckyk (n), as a consequence of the scaling property of the linear system.
Finally, the total response to the input x(n) is:
y(n) =T [ x(n)] =T
k
c k xk (n) =
k
ckT [ xk (n)] =
k
ck yk (n)
21
21
22
22
11
12.02.2020
23
x ( n) = ck xk ( n)
k
x ( n) = x(k ) (n − k )
k = −
24
24
12
12.02.2020
25
25
x(n) = 2 (n + 1) + 4 (n) + 3 (n − 2)
26
26
13
12.02.2020
27
27
y(n) =T [ x(n)] =T
k
c k xk (n) =
ckT [ xk (n)] = ck yk (n)
ck h(n, k ) = x(k )h(n, k )
k k
28
28
14
12.02.2020
Finally, if the input is the arbitrary signal x(n) that is expressed as a sum
of weighted impulses. that is:
x ( n) = x(k ) (n − k )
k = −
If, in addition, the system is time invariant. the formula se simplifică mult.
simplifies considerably. In fact, if the response of the LTI system to the unit
sample sequence δ(n) is denoted as:
h(n) =T (n)
then by the time-invariance property. the response of the system to the
delayed unit sample sequence δ (n - k) is:
h(n − k ) =T (n − k )
Consequently, the formula reduces to:
y ( n) = x ( k ) h( n − k )
k = −
(1.86)
29
29
y ( n) = x ( k ) h( n − k )
k = −
(1.86)
The formula in (1.86) that gives the response y(n) of the LTI system as a
function of the input signal x(n) nd the unit sample (impulse) response
h(n) is called a convolution sum.
We say that the input x(n) is convolved with the impulse response h(n) to
yield the output y(n).
We shall now explain the procedure for computing the response y(n), both
mathematically and graphically, given the input x(n) and the impulse
response h(n) of the system.
Suppose that we wish to compute the output of the system at some
time instant, say n = no. According to (1.86), the response at n = no is given
as:
y (n0 ) = x ( k ) h( n
k = −
0 − k)
30
15
12.02.2020
y (n0 ) = x ( k ) h( n
k = −
0 − k)
31
31
32
32
16
12.02.2020
33
33
34
17
12.02.2020
35
Continous convolution
36
36
18
12.02.2020
Example1.8.
The impulse response of a linear time-invariant system is
Determine the response of the system
h(n) = 1, 2 ,1,−1
to the input signal:
x(n) = 1,2,3,1
Solution:
The first step in the computation of the
convolution sum is ro fold h(k). The folded x(n) = 1,2,3,1
sequence is h(-k). Now we can compute the
output at n = 0, which is
h(− n) = − 1,1, 2 ,1
y ( 0) = x ( k ) h( − k )
k = −
Since the shift n = 0, we use h(-k) diredirectly without shifting it. The
product sequence:
v0 (k ) x(k )h(−k )
Finally, the sum of all the terms in the product sequence yields:
y ( 0) = v (k ) = 4
h = −
0
37
37
h = −
The sequence h(1-k) is simply the folded sequence h(- h (1−n )= −1, 1 , 2,1
k) shifted to the right by one unit in time. The product
sequence:
v1(k ) = x(k )h(1 − k )
Finally, the sum of all the values In the product
sequence yields:
y (1) = v (k ) = 8
k = −
1
38
38
19
12.02.2020
x(n) = 1,2,3,1
Next we wish to evaluate y(n) for n < 0. We
begin with n = -1. Then
h(−1 − n) = − 1,1,2, 1
y (−1) = x(k )h(−1 − k )
k = −
y(−1) = 1
y (n) = 0 n −2
39
39
Indeed. if we begin with (1.86) and make a change in the variable of the
summation from k to m, defining a new index m = n - k, then k = n - m and (1.86)
becomes
y ( n) = x ( n − m) h( m)
m = −
Since m is a dummy index. we may simply replace m by k so tha:
y ( n) = x ( n − k ) h( k )
k = −
The expression y(n) is identical to (1.86), the product sequences in the two
forms of the convolurion formula are not identical. In fact. if we define the two
product sequences as
vn (k ) = x(k )h(n − k ) vn (k ) = n (n − k ) y ( n) = vn ( k ) = (n − k )
n
n (k ) = x(n − k )h(k ) k = − k = −
40
40
20
12.02.2020
41
41
On the other hand, for n < 0, the product sequences consist of all zeros. Hence
y(n) = 0, n < 0
1
Since |a | < 1, the final value of the output as n y() = lim y(n) =
n → 1− a
approaches infinity is
42
42
21
12.02.2020
Convolution demo 1
Convolution demo 2
Convolution demo 3
43
43
44
44
22
12.02.2020
Commutative law
45
45
y ( n) = x ( n) * h( n)
46
23
12.02.2020
47
47
interpreted physically. this law implies that if we have two linear time-
invariant systems with impulse responses h1(n) and h2 (n) excited by the
same input signal x(n), the sum of the two responses is identical to the
response of an overall systcm with impulse response
h(n) = h1(n) + h2 (n)
48
24
12.02.2020
Now, if the output at time n = no is to depend only on the present and past
inputs, then, clearly, the impulse response of the system must satisfy the
condition
h(n) = 0 n<0
49
Hence an LTI system is causal if and only if its impulse response is zero
for negative values of n. n.
Since for a causal system, h(n) = 0 for n < 0, the limits on the summation of
the convolution formula may be modified to reflect this restriction. Thus we
have the two equivalent forms
50
50
25
12.02.2020
51
51
The index l is the (time) shift (or lug) parameter and the subscripts xy on
the cross-correlation sequence rxy(l) indicate the sequences being
correlated.
52
52
26
12.02.2020
In the special case where y(n) = x(n), we have the autocorrelation of x(n),
which is defined as the sequence
53
53
Example 1. 9.
Solution
Let us use the definition to compute rxy(l). For l = 0 we have
54
54
27
12.02.2020
For l > 0, we simply shift y(n) ) to the right relative to x(n) by 1 unit,
compute the product sequence v1(n) = x(n)y(n - 1), and finally, sum over all
values of the product sequence. Thus we obtain:
For l < 0, we shift y(n) n) to the left relative to x(n) by 1 unit, compute the
product sequence v-1(n) = x(n)y(n - 1), and sum over all values of the
product sequcncc. Thus we obtain the values of the crosscorrelation
sequence
55
55
56
56
28