Skip to content
Tutorials Center
My learning

Topics

Lesson 1 of 36 ยท Getting Started

What Are Signals and Systems?

Learn what signals and systems are, see everyday examples from audio to ECG, and meet the block-diagram view that the whole course is built on.

A signal is a quantity that carries information and changes with time, space or some other variable. The voltage from a microphone, the daily closing price of a stock, the brightness of pixels along a row of an image and the electrical activity of a heart are all signals. A system is anything that takes a signal in and produces a signal out: an amplifier, a phone's noise canceller, a bank account that adds interest, even a room that adds echo to your voice.

This course gives you one set of tools to describe all of them. You will learn to classify signals, to predict what a system does to any input, and to move between the time domain and the frequency domain with the Fourier, Laplace and Z transforms. Every idea is shown in Python so you can run it, break it and see what happens. Python here is real: the editors use NumPy and SciPy running in your browser.

Signals around you

A signal is a function. For time signals we write x(t) or x[n]: put in a time, get out a value.

Signal Variable Value
Speech time air pressure at the microphone
ECG time voltage on the skin
Grayscale photo row and column brightness
Temperature log hour number degrees
Stock price trading day price

Most of this course uses signals of one variable, and that variable is usually time. Images are two-variable signals; the same ideas extend to them.

Systems around you

A system is a rule that turns an input signal into an output signal. We draw it as a box.

flowchart LR
    X["input x(t)"] --> S["system H"]
    S --> Y["output y(t)"]

The block diagram is the picture you will see on almost every page: input, system, output.

Examples:

  • A volume knob multiplies the input by a constant gain.
  • A delay pedal outputs the input from half a second ago.
  • A moving average outputs the mean of the last few input values, smoothing noise.
  • A savings account outputs a balance that depends on every deposit made in the past.

Two questions drive the whole subject. First, what is the output for a given input? (analysis). Second, what system do I need to get the output I want? (design). Filters, communication links, control loops and audio effects are all answers to the second question.

Python A signal and a system in a few lines

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.

The output is a smoother version of the input. The function moving_average is the system; x and y are signals.

Continuous time and discrete time

Physical signals such as sound pressure exist at every instant: they are continuous-time signals, written x(t) with round brackets. A computer can only store a list of numbers, so it stores discrete-time signals x[n] with square brackets, where n is an integer index. Turning one into the other is sampling, which gets its own chapter. For now remember the notation: (t) means any real time, [n] means whole-number steps.

Python Sampling a sine wave

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.

The big picture of the course

flowchart TB
    A["Signals<br/>classify and build"] --> B["LTI systems<br/>impulse response, convolution"]
    B --> C["Fourier series<br/>periodic signals"]
    C --> D["Fourier transform<br/>any signal, frequency view"]
    D --> E["Laplace and Z<br/>stability, design"]
    E --> F["Sampling and applications"]

Each step reuses the one before it; frequency ideas arrive only after you have a firm time-domain picture.

You will keep meeting one special class of systems, linear time-invariant (LTI) systems. They are simple enough to analyze completely and common enough to cover filters, circuits and many physical processes. Their behavior is captured by a single signal, the impulse response.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which is an example of a system?

    A system takes an input signal and produces an output signal. An echo effect does exactly that; the other options are signals or plain values.
  2. 2. What does the notation x[n] usually mean?

    Square brackets are the convention for discrete-time signals; round brackets x(t) are used for continuous time.
  3. 3. In the block diagram, what does the box between input and output represent?

    The box is the system H: a rule mapping an input signal to an output signal.
  4. 4. A 3-point moving average mostly does what to a noisy signal?

    Averaging neighbouring samples reduces fast random wiggles, so the output is smoother.

Summary

  • A signal is a function carrying information; a system maps an input signal to an output signal.
  • x(t) is continuous time, x[n] is discrete time; sampling connects the two.
  • Block diagrams (input, system, output) are the shared language of the field.
  • Analysis asks what a system does; design asks which system gives a wanted behavior.
  • LTI systems are the central class of the course.

Next: A Python Toolkit for Signals