Skip to content Skip to navigation

Connexions

You are here: Home » Content » Discrete time signals

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

      What are tags? tag icon

      Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

    • External bookmarks
  • E-mail the author
  • Rate this module (How does the rating system work?)

    Rating system

    Ratings

    Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

    How to rate a module

    Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

    (0 ratings)

Recently Viewed

This feature requires Javascript to be enabled.

Discrete time signals

Module by: Anders Gjendemsjø

Summary: Important discrete time signals

Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.

The signals and relations presented in this module are quite similar to those in the Analog signals module. So do compare and find similarities and differences!

Sequences

Generally a time discrete signal is a sequence of real or complex numbers. Each component in the sequence is identified by an index: ...x(n-1),x(n), x(n+1),...

Example 1

[x(n)] = [0.5 2.4 3.2 4.5] is a sequence. Using the index to identify a component we have x0=0.5 x 0 0.5 , x1=2.4 x 1 2.4 and so on.

Manipulating sequences

  • Addition: Add individually each component with similar index
  • Multiplication by a constant: Multiply every component by the constant
  • Multiplication of sequences: Multiply each component individually
  • Delay: A delay by kk implies that we shift the sequence by k. For this to make sense the sequence has to be of infinite length.

Example 2

Given the sequences [x(n)] = [0.5 2.4 3.2 4.5] and [y(n)] = [0.0 2.2 7.2 5.5].

a)Addition. [z(n)]=[x(n)]+[y(n)]=[0.5 4.6 10.4 10.0]

b)Multiplication by a constant c=2. [w(n)]= 2 *[x(n)] = [1.0 4.8 6.4 9.0]

Elementary signals & relations

The unit sample

The unit sample is a signal which is zero everywhere except when its argument is zero, then it is equal to 1. Mathematically

unit sample:

δn=1ifn=00otherwise δ n 1 n0 0
The unit sample function is very useful in that it can be seen as the elementary constituent in any discrete signal. Let xnxn be a sequence. Then we can express xnxn as follows (using the unit sample definition and the delay operation)
xn=k=-xkδnk x n k x k δ n k (1)

The unit step

The unit step function is equal to zero when its index is negative and equal to one for non-negative indexes, see Figure 1 for plots.

unit step:

un=1ifn00otherwise u n 1 n0 0
Figure 1: Two unit step functions.
(a) Unit step function, no delay.
Figure 1(a) (unit_step_no_delay.png)
(b) Unit step function, delayed by 5.
Figure 1(b) (unit_step_delay_5.png)

Trigonometric functions

The discrete trigonometric functions are defined as follows. nn is the sequence index and ωω is the angular frequency. ω=2πf ω 2 f , where f is the digital frequency.

Discrete sine:

xn=sinωn x n ω n

Discrete cosine:

xn=cosωn x n ω n
Figure 2: A discrete sine with digital frequency 1/20.
Figure 2 (sine_discrete.png)

The complex exponential function

The complex exponential function is central to signal processing and some call it the most important signal. Remember that it is a sequence and that =-1 1 is the imaginary unit.

complex exponential:

xn=ωn x n ω n

Euler's relations

The complex exponential function can be written as a sum of its real and imaginary part.

xn=ωn=cosωn+sinωn x n ω n ω n ω n (2)
By complex conjugating Equation 2 and add / subtract the result with Equation 2 we obtain Euler's relations.

Euler relation 1:

cosωn=ωn+-ωn2 ω n ω n ω n 2

Euler relation 2:

sinωn=ωn-ωn2 ω n ω n ω n 2
The importance of Euler's relations can hardly be stressed enough.

Matlab files

unit_step_discrete.m

Comments, questions, feedback, criticisms?

Send feedback