Skip to content
Tutorials Center
My learning

Topics

Lesson 4 of 36 ยท Signals and Classification

Classifying Signals

Learn the main ways to classify signals: continuous or discrete time, analog or digital, deterministic or random, one or many dimensions, with Python examples.

Before you can analyze a signal you need to know what kind of signal it is, because the tools differ. A periodic signal gets a Fourier series, an energy signal gets a Fourier transform, a random signal needs statistics. This lesson lays out the standard classifications; the next lessons dig into specific ones.

Continuous time versus discrete time

A continuous-time (CT) signal x(t) is defined for every real t. A discrete-time (DT) signal x[n] is defined only for integer n. Daily rainfall is naturally discrete; the voltage on a wire is naturally continuous.

Analog versus digital

This is about the values, not the time axis.

  • Analog: the value can be any number in a range.
  • Digital: the value is limited to a finite set, such as the 65,536 levels of a 16-bit audio sample.

Combining the two choices gives four cases.

values continuous values quantized
time continuous analog signal rare in practice
time discrete sampled signal digital signal

A digital signal is discrete in time and amplitude. Sampling makes a signal discrete in time; quantization rounds its amplitude.

Python Quantizing a sampled sine

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Deterministic versus random

A deterministic signal can be written as an exact formula or table: x(t) = 5 cos(2 pi 100 t). A random (stochastic) signal cannot be predicted exactly; only its statistics (mean, variance, spectrum) are known. Receiver noise is random. Most of this course treats deterministic signals, but noise motivates filtering, which we meet later.

Python Deterministic versus random

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Periodic versus aperiodic

A signal is periodic if some T > 0 satisfies x(t + T) = x(t) for all t. The smallest such T is the fundamental period T0; the fundamental frequency is f0 = 1/T0. A signal that is not periodic is aperiodic. Periodicity gets its own lesson (Even, Odd and Periodic Signals).

Even versus odd

x(-t) = x(t) means even (mirror-symmetric, like cosine); x(-t) = -x(t) means odd (like sine). Any signal splits into an even part and an odd part.

Energy versus power

Some signals are short-lived and have finite total energy; others last forever and have finite average power. This is key to choosing a transform and is covered in Energy and Power Signals.

Causal, anticausal and noncausal

A signal that is zero for t < 0 is causal (it "starts at zero"); zero for t > 0 is anticausal; otherwise noncausal. The word also appears for systems with a related but different meaning (see System Properties).

Real versus complex signals

Physical signals are real, but complex signals such as e^(j w t) are a convenient mathematical tool.

One-dimensional and multi-dimensional

Audio is 1-D (time). A grayscale image is 2-D (row, column), video is 3-D. This course sticks to 1-D, and nearly every idea carries over.

A classification checklist

flowchart TB
    S["signal"] --> T{"time axis"}
    T -->|"real t"| CT["continuous time"]
    T -->|"integer n"| DT["discrete time"]
    S --> V{"values"}
    V -->|"any in a range"| AN["analog"]
    V -->|"finite set"| DG["digital"]
    S --> P{"predictable?"}
    P -->|"yes"| DE["deterministic"]
    P -->|"only statistics"| RA["random"]

Classifications are independent questions; a signal answers all of them.

Python Auto-classify a few signals

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Here "symmetric" means the array equals its reverse, which for a time axis centred on zero is the definition of an even signal.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. A 16-bit audio recording is best described as:

    It is sampled (discrete in time) and quantized to 65,536 levels (digital).
  2. 2. Which signal is deterministic?

    A deterministic signal follows an exact rule; the cosine can be computed exactly at any time.
  3. 3. What is the difference between analog and continuous-time?

    Time axis (continuous or discrete) and amplitude (analog or digital) are separate properties.
  4. 4. A signal that is zero for all t < 0 is called:

    Causal signals start at or after t = 0.

Summary

  • Time axis: continuous or discrete. Amplitude: analog or digital. A digital signal is discrete in both.
  • Deterministic signals follow formulas; random signals only have statistics.
  • Further splits: periodic or not, even or odd, energy or power, causal or not, real or complex.
  • The classification tells you which analysis tool to use.

Next: Basic Signals