<< Chapter < Page Chapter >> Page >
Discrete-time systems allow for mathematically specified processes like the difference equation.

A discrete-time signal s n is delayed by n 0 samples when we write s n n 0 , with n 0 0 . Choosing n 0 to be negative advances the signal along the integers. As opposed to analog delays , discrete-time delays can only be integer valued. In the frequency domain, delaying a signal corresponds to a linear phase shift ofthe signal's discrete-time Fourier transform: s n n 0 2 f n 0 S 2 f .

Linear discrete-time systems have the superposition property.

S a 1 x 1 n a 2 x 2 n a 1 S x 1 n a 2 S x 2 n
A discrete-time system is called shift-invariant (analogous to time-invariant analog systems ) if delaying the input delays the corresponding output.If S x n y n , then a shift-invariant system has the property
S x n n 0 y n n 0
We use the term shift-invariant to emphasize that delays can only have integer values in discrete-time, while in analog signals, delays canbe arbitrarily valued.

We want to concentrate on systems that are both linear and shift-invariant. It will be these that allow us the full power offrequency-domain analysis and implementations. Because we have nophysical constraints in "constructing" such systems, we need only a mathematical specification. In analog systems, thedifferential equation specifies the input-output relationship in the time-domain. The corresponding discrete-time specification is the difference equation .

y n a 1 y n 1 a p y n p b 0 x n b 1 x n 1 b q x n q
Here, the output signal y n is related to its past values y n l , l 1 p , and to the current and past values of the input signal x n .The system's characteristics are determined by the choices for the number of coefficients p and q and the coefficients' values a 1 a p and b 0 b 1 b q .
There is an asymmetry in the coefficients: where is a 0 ? This coefficient would multiply the y n term in [link] . We have essentially divided the equation by it, which does not change theinput-output relationship. We have thus created the convention that a 0 is always one.

As opposed to differential equations, which only provide an implicit description of a system (we must somehow solve the differential equation), difference equations provide an explicit way of computing the output for any input. We simply express the difference equation by a program thatcalculates each output from the previous output values, and the current and previous inputs.

Difference equations are usually expressed in software with for loops. A MATLAB program that would compute the first 1000 values of the output has the form for n=1:1000 y(n) = sum(a.*y(n-1:-1:n-p)) + sum(b.*x(n:-1:n-q));end An important detail emerges when we consider making this program work; in fact, as written it has (at least) two bugs. What inputand output values enter into the computation of y 1 ? We need values for y 0 , y -1 , ..., values we have not yet computed. To compute them, we would need more previous values of the output, which wehave not yet computed. To compute these values, we would need even earlier values, ad infinitum. The way out of thispredicament is to specify the system's initial conditions : we must provide the p output values that occurred before the input started. These values can bearbitrary, but the choice does impact how the system responds to a given input. One choice gives rise to a linear system: Make the initial conditions zero. The reasonlies in the definition of a linear system : The only way that the output to a sum of signals can be the sum of theindividual outputs occurs when the initial conditions in each case are zero.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Fundamentals of electrical engineering i. OpenStax CNX. Aug 06, 2008 Download for free at http://legacy.cnx.org/content/col10040/1.9
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Fundamentals of electrical engineering i' conversation and receive update notifications?

Ask