Академический Документы
Профессиональный Документы
Культура Документы
DSP
Fig. 1-1. The graphical representation of a discrete-time signal x(n). In some problems and applications it is convenient to view x(n) as a vector. Thus, the sequence values x(0) to x(N - 1) may often be considered to be the elements of a column vector as follows: Discrete-time signals are often derived by sampling a continuous-time signal, such as speech, with an analog- to-digital (AID) converter.' For example, a continuous-time signal x,(t) that is sampled at a rate of fs= l/Ts samples per second produces the sampled signal x(n), which is related to Xa(t) as follows: Not all discrete-time signals, however, are obtained in this manner. Some signals may be considered to be naturally occurring discrete-time sequences because there is no physical analogto-digital converter that is converting an analog signal into a discrete-time signal.
2. Determine whether or not the signals below are periodic and, for each signal that is periodic, determine fundamental period.
(a) x(n)=cos(0.125n) Because 0.125= n/8, and cos( n) = cos( (n+16)) x(n) is periodic with period N = 16.
GRIETECE
UNIT1
DSP
(b). Here we have the sum of two periodic signals, With the period of the first signal being equal to N1 = 24, and the period of the second, N2 = 36. Therefore, the period of the sum is
(c) In order for this sequence to be periodic, we must be able to find a value for N such that Sin(+0.2n) = sin(+0.2(n+ N)) The sine function is periodic with a period of 2. Therefore, 0.2N must be an integer multiple of 2. However, because is an irrational number, no integer value of N exists that will make the equality true. Thus, this sequence is aperiodic. (d) Here we have the product of two periodic sequences with periods N1=32 and N2=34. Therefore, the fundamental period is
GRIETECE
UNIT1
DSP
4. Define the following terms as referred to LTI discrete time systems. a. Linear Systems b. Shift-Invariance: c. Linear Shift-Invariant d. Causality
Linear Systems: A system that is both additive and homogeneous is said to be linear. Thus, Definition: A system is said to be linear if for any two inputs xl(n) and x2(n) and for any complex constants a1 and a2. Linearity greatly simplifies the evaluation of the response of a system to a given input. For example, using the decomposition for x(n) given in Eq. (1.4), and using the additivity property, it follows that the output y(n) may be written as
Because the coefficients x(k) are constants, we may use the homogeneity property to write
. (1.1) which is known as the superposition summation. Shift-Invariance: If a system has the property that a shift (delay) in the input by no results in a shift in the output by no, the system is said to be shift-invariant. More formally, Definition: Let y (n) be the response of a system to an arbitrary input x (n). The system is said to be shift-invariant if, for any delay no, the response to x(n-no) is y(n-no). A system that is not shift-invariant is said to be shift-varying. In effect, a system will be shift-invariant if its properties or characteristics do not change with time. To test for shift-invariance one needs to compare y (n-no) to T[x(n-no)]. If they are the same for any input x(n) and for all shifts no, the system is shift-invariant. Linear Shift-Invariant Systems A system that is both linear and shift-invariant is referred to as a linear shift-invariant (LSI) system. If h(n) is the response of an LSI system to the unit sample 6(n), its response to (n-k) will be h(n-k). Therefore, in the superposition sum given in Eq. (1.1), hk(n) = h(n - k)
GRIETECE
UNIT1
DSP
.1.2 Equation (1.2), which is known as the convolution sum, is written as Where * indicates the convolution operator. The sequence h(n), referred to as the unit sample response, provide a complete characterization of an LSI system. In other words, the response of the system to any input x(n) may be found once h(n) is known. Causality: A system property that is important for real-time applications is causality, which is defined as follows: Definition: A system is said to be causal if, for any no, the response of the system at time no depends only on the input up to time n = no. For a causal system, changes in the output cannot precede changes in the input. Thus, if xl(n)= x2(n) for n n0, yl(n) must be equal to y2(n) for n n0. Causal systems are therefore referred to as non-anticipatory. An LSI system will be causal if and only if h(n) is equal to zero for n < 0.
The relationship between the input to a linear shift-invariant system, x(n), and the output, y(n), is given by the convolution sum
Because convolution is fundamental to the analysis and description of LSI systems, in this section we look at the mechanics of performing convolutions. We begin by listing some properties of convolution that may be used to simplify the evaluation of the convolution sum. Convolution Properties Convolution is a linear operator and, therefore, has a number of important properties including the commutative, associative, and distributive properties. The definitions and interpretations of these properties are summarized below. Commutative Property The commutative property states that the order in which two sequences are convolved is not important. Mathematically, the commutative property is From a systems point of view, this property states that a system with a unit sample response h(n) and input x(n) behaves in exactly the same way as a system with unit sample response x(n) and an input h(n). This is illustrated in Fig. 1-2(a).
GRIETECE
UNIT1
DSP
Distributive Property The distributive property of the convolution operator states that From a systems point of view, this property asserts that if two systems with unit sample responses h1(n) and h2(n) are connected in parallel, as illustrated in Fig. 1-2(c), an equivalent system is one that has a unit sample response equal to the sum of h1(n) and h2(n):
Associative Property The convolution operator satisfies the associative property, which is From a systems point of view, the associative property states that if two systems with unit sample responses hl (n) and h2 (n) are connected in cascade as shown in Fig. 1-2(b), an equivalent system is one that has a unit sample response equal to the convolution of hl (n) and h2(n):
Fig. 1-2 The interpretation of convolution properties from a systems point of view.
6. If the response of a linear shift-invariant system to a unit step (i.e., the step response) is find the unit sample response, h(n).
(n) = u(n)-u(n-1) Therefore, the unit sample response, h(n),is related to the step response, s(n), as follows: h(n)=s(n)-s(n-I)
GRIETECE
UNIT1
DSP
8.Consider a system described by the difference equation Find the response of this system to the input with initial conditions y(-1) = 0.75 and y(-2) = 0.25.
Let x(n) = (0.5)n u(n), we assume a solution of the form n 0 yp (n) = Cl(0.5)n Substituting this solution into the difference equation, we have Dividing by (0.5)n which gives CI =2 CI -4 CI +0.5+1 CI=0.5 to find the homogeneous solution. The characteristic equation is z2-z+l=0 which has roots
Therefore, the form of the homogeneous solution is and the total solution becomes (1.3)
GRIETECE
UNIT1
DSP
The constants A1 and A2 must now be found so that the total solution satisfies the given initial conditions, y(-1) = 0.75 and y(-2) = 0.25. Because the solution given in Eq. (1.3) is only applicable for n 0, we must derive an equivalent set of initial conditions for y(0) and y(l). Evaluating the difference equation for n = 0 and n = 1, we have And Now, substituting these derived initial conditions into Eq. (1.3), we have y(0) = 0.5 + Al + A2 = 1 Writing this pair of equations in the two unknowns A1 and A2 in matrix form,
Substituting into Eq. (1.3) and simplifying, we find, after a bit of algebra. An important observation to make about this solution is that. Because the difference equation has real coefficients, the roots of the characteristic polynomial are in complex-conjugate pairs. This ensures that the unit sample response is real. With a real-valued input x(n), the response must be real and, therefore, it follows that A2 will be the complex conjugate of A1 :
9. Write an expression for a Parsevals relation for discrete time periodic signals.
Parseval's Theorem: A corollary to the multiplication theorem is Parseval's theorem, which is
Parsevals theorem is referred to as the conservation of energy theorem; because it states that the DTFT operator preserves energy when going from the time domain into the frequency domain.
10. Consider the linear shift-invariant system characterized by the secondorder linear constant coefficient difference equation.
The frequency response may be found by inspection without solving the difference equation for h(n) as follows: Note that this problem may also be worked in the reverse direction. For example, given a frequency response function such as
GRIETECE
UNIT1
DSP
a difference equation may be easily found that will implement this system. First, dividing numerator and denominator by 2 and rewriting the frequency response as follows, we see that a difference equation for this system is
GRIETECE
UNIT1
DSP
GRIETECE