<< Chapter < Page Chapter >> Page >

Recall that a discrete-time signal is a function with an integer-valued independent variable n . The variable n marches through time from negative infinity to positive infinity. For each value of n , we get the value of from our function x n . Now, that x n is either going to be a real number, meaning it's going to live in the real number set, or it's going to be a complex number and live in the complex number set.

Plotting real signals

We're going to see a lot graphs like these in our study of signal processing:
Discrete-time signal
Example of a discrete-time signal.
For each value of one of these n , we get the value of x n . For clarity, we're often going to color in these circles at the top, but that's really just a matter of taste. We're either going to label the signal on the y-axis or in the title of the graph.When it's clear from context that we're dealing with a discrete index n , we can strip away all of the labels and axes and just plot signals like this, just because it's cleaner for some applications:
Discrete-time signal
A discrete-time signal, without the axes labeled.

Examples of discrete-time signal plots

Here are some examples of signals. The first is a financial time series. It's the daily closing share price of Google for a five-month period:
Discrete-time signal
A financial series signal.
You can see here that it's a discrete time signal, where each of these signal points corresponds to one single shareprice at the end of a day. There are some fluctuations in the price, and if you were a financial trader or if you were an economist, you would be very interested in the information that this daily share price closing signal conveys.Another example is a temperature signal,the temperature at Houston Intercontinental Airport every day at noon for 365 days that comprise the year 2013 (in degrees Celsius):
Discrete-time signal
Daily temperatures over the course of a year.
Again, we can see that there are fluctuations in this signal, and if you were a meteorologist or a climatologist, you'd be very interested in the information that this signal conveys. Finally, here's an audio signal that is speech from an actor speaking a part in Shakespeare's play, Hamlet:
Discrete-time signal
The discrete-time plot of a speech signal.

Plotting discrete-time signals correctly

We need to remember that with a discrete-time signal, the independent variable is integer valued. This means that when you plot a signal in a program like MATLAB, you must use a discrete-time plotting function (like the stem function) that respects the fact that the signal is only defined at discrete time points, rather than a function (like plot ) which interpolates between points:
Image
Discrete-time signals are undefined between the integer index values and should be plotted accordingly.
Image
This plot interpolates between the discrete-time integer index values, which is inappropriate for a discrete-time plot.

Plotting complex-valued signals

Up to this point, we've been talking about real-valued signals. They comprise a single plot of n versus x n . But what about complex-valued signals?

Recall that a complex number has a real component and an imaginary component. There are two equivalent ways of expressing a given complex number. For some a , we can express a in two different ways:

  • Cartesian/rectangular form: a a j a
  • Polar form: a a j a ,

where j -1 (in engineering contexts the variable j is used to represent this value because i represents electrical current). Just as a complex number can be expressed in two different ways, so can a complex-valued signal:

  • Cartesian/rectangular form: x n x n j x n
  • Polar form: x n x n j x n

What this means is that, if we're plotting a complex-valued signal, we actually need two plots. As we have seen, there are two different ways we can plot the same complex-valued signal:

  • Cartesian/rectangular form:
    Image
    A plot of the real part of a complex-valued signal x n .
    Image
    A plot of the imaginary part of a complex-valued signal x n .
  • Polar form:
    Image
    A plot of the magnitude of a complex-valued signal x n . Note how all of the values are greater than or equal to 0.
    Image
    A plot of the phase of a complex-valued signal x n . Note how the values range between - and .

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Discrete-time signals and systems. OpenStax CNX. Oct 07, 2015 Download for free at https://legacy.cnx.org/content/col11868/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Discrete-time signals and systems' conversation and receive update notifications?

Ask