# Continuous-Time vs Discrete-Time Signals

Classification of continuous-time and discrete-time deals with the type of independent variable. If the signal amplitude is defined for every possible value of time, the signal is called a continuous-time signal. However, if the signal takes values at specific instances of time but not anywhere else, it is called a discrete-time signal. Basically, a discrete-time signal is just a sequence of numbers.

Example

Consider a football (soccer) player participating in a 20-match tournament. Suppose that his running speed is recorded at each instant of time in the 90-minute duration of a particular match and plotted against time. The result shown in this Figure is clearly a continuous-time signal.

On the other hand, the Figure below shows the number of goals he scored during those 20 matches, which is defined only for each match and not in between. Hence, it is a discrete-time signal.

Discrete-time signals usually arise in two ways:

1. By acquiring values of a continuous-time signal at fixed time instants. This process is called sampling and is discussed in detail later. For example, the actual temperature outside varies continuously throughout the day, but weather stations log the data after specific intervals, say every 30 minutes.
2. By recording the number of events over finite time periods. For example, number of trees cut every year in a city for housing and development projects.

Mathematically, we represent a continuous-time signal as and a discrete-time signal as , where is a real number while is an integer. So a discrete-time signal can be plotted by finding for various values of . Each member of a discrete-time signal is called a sample.

Plotting each value of against every is then straightforward as shown below.

Another way of representing a discrete-time signal is in the form of a sequence with an underline indicating the time origin (), such as

Finally, it is incorrect to assume that a discrete-time signal is zero between two values of . It is simply not defined for non-integer values.

Voltage as a signal

In electrical engineering, the time-varying quantity is usually voltage (or sometimes current). Therefore, when we work with a signal, just think of it as a voltage changing over time.