Chapter_1_ Introduction to Signals and Systems
Chapter_1_ Introduction to Signals and Systems
1.1 Introduction
A signal is any measurable quantity that varies with time, space, or another independent
variable. Signals represent information or data about some phenomenon of interest. Signals
can be found in every aspect of the world around us and can take many forms, for example
audio signals in a phone call. Systems, on the other hand, are mechanisms or processes that
take in these signals and respond to or process them, often generating output signals based on
ts
the input.
en
ud
St
In this course, the study of signals and systems provides the foundation for understanding
ar
how information is transmitted, transformed, or even interpreted. Examples of systems and
ye
associated signals:
● Electrical circuits: voltages, currents, temperature
d
3r
● Mechanical systems: speeds, displacement, pressure, temperature
g
independent variables. For example, the voltage across a capacitor in an electrical circuit is a
function of time. A static monochromatic image can be viewed as a function of two variables:
te
pu
an x-coordinate and a y-coordinate, where the value of the function indicates the brightness
of the pixel at that (x, y) coordinate. A video is a sequence of images, and thus can be viewed
om
course, we will primarily be focusing on signals that are functions of a single independent
Fo
1
1. Continuous-Time and Discrete-Time Signals
Continuous-time signals are defined for every instant of time and can take on any value
within a given range. Mathematically, a continuous-time signal x(t) can be represented as a
function of time t. E.g x(t)=Asin(2πft+ϕ) where 𝐴 is the amplitude, 𝑓 is the frequency, and 𝜙 is
the phase. This signal varies continuously over time. Examples of continuous-time signals
often include physical quantities, such as electrical currents, atmospheric concentrations and
phenomena, vehicle movements, etc.
ts
Discrete-time signals are defined only at specific intervals of time. They are obtained by
en
sampling a continuous-time signal at regular intervals. A discrete-time signal can be
ud
represented as 𝑥[𝑛], where 𝑛 is an integer indicating the sample index. Examples of discrete
time signals include Daily Market Prices, School Enrollment Data, and Cultural Events
St
Attendance.
ar
2. Analog and Digital Signals
ye
Analog signals are continuous-time signals that can take any value within a given range.
d
They represent information in a physical form, often subject to noise and distortion. The
3r
voltage level from a vinyl record can be represented mathematically as: x(t)=V(t) where V(t)
g
rin
is the voltage level over time, capturing the variations in sound represented by the grooves on
the record.
ee
Digital signals are discrete-time signals that take on a finite number of values, typically
in
represented in binary form. They are easily processed, stored, and transmitted. A digital
ng
signal can be represented as: x[n]={0,1} where each value corresponds to binary data. In
rE
communication systems, this could represent data transmitted over fiber-optic cables, with
te
light pulses indicating 0s and 1s. One can obtain discrete-time signals by sampling
pu
continuous-time signals (i.e., by selecting only the values of the continuous-time signal at
om
certain intervals).
3. Even and Odd Signals
rC
Signals can also be classified as even or odd based on their symmetry about the vertical axis.
Fo
2
● Periodic Signal: A signal is periodic if it satisfies x(t)=x(t+T) for some period T>0.
Example: A square wave can be represented as a periodic signal.
● Nonperiodic Signal: A signal is nonperiodic if it does not repeat over time.
Example: A single pulse or transient signal is nonperiodic.
Note: any signal can be decomposed as a sum of an even signal and an odd signal.
LAB: Classification_of_signals.py
ts
en
ud
St
ar
ye
d
3r
g
rin
ee
in
ng
● The Unit Step signal is foundational in defining systems that start at a specific time.
rC
It's commonly used to model systems that turn "on" at t=0 and stay "on" afterward,
such as the activation of electronic circuits or systems that need to respond to sudden
Fo
inputs. It's also crucial for analyzing the behavior of systems in response to inputs
over time.
2. Unit Impulse Signal:
● The Unit Impulse signal, or Dirac delta function, δ(t), is defined as an idealized
signal with infinite amplitude at t=0 and an area of one over time:
3
● The Unit Impulse signal is essential in analyzing and understanding how systems
respond to instantaneous inputs, like sudden shocks. It acts as a "test signal" in
system analysis since any continuous-time signal can be represented as a
combination of shifted and scaled impulse signals. This is especially useful in
convolution operations for system response analysis.
3. Complex Exponential Signal
● A Complex Exponential signal is represented as est, where s=σ+jω (with j as the
ts
imaginary unit and ω as angular frequency). In its simplest form with s=jω, it is
en
written as: ejωt=cos(ωt)+jsin(ωt).
ud
● Complex Exponential signals are significant in characterizing the frequency response
St
of systems, which is central to both continuous and discrete-time system analysis.
They form the basis for Fourier and Laplace transforms, which decompose signals
ar
into frequency components, allowing for the analysis of how systems respond at
ye
different frequencies—a key concept in communication and control systems.
4. Sinusoidal Signal d
3r
● A Sinusoidal signal is defined by: x(t)=Acos(ωt+ϕ) where A is the amplitude, ω the
g
rin
analyze systems in both time and frequency domains. Since many natural and
in
man-made signals (like sound waves, electrical signals, etc.) are or can be
ng
these signals provides insights into system behavior for a wide variety of real-world
te
applications. Additionally, they are central to Fourier analysis, as any signal can be
pu
LAB: Basic_Continous.py
rC
Fo
4
1.4 Basic Discrete-Time Signals
1. Unit Step Sequence
● The Unit Step Sequence, denoted by u[n], is defined as:
● The Unit Step Sequence is widely used to model digital systems that start operating
from a particular point in time, often n=0. In real-world applications, it’s useful in
ts
systems that trigger at specific events, such as signals in digital circuits that activate
en
components at a certain time step.
ud
2. Unit Impulse Sequence
St
● The Unit Impulse Sequence, denoted δ[n], is defined by
ar
ye
● The Unit Impulse Sequence is crucial in analyzing discrete systems’ response to
d
3r
instantaneous events. In practical terms, it’s like a “ping” to test a system’s behavior at
a specific point in time, making it essential in areas like digital signal processing for
g
rin
x[n]=cos(ωn)+jsin(ωn).
pu
4. Sinusoidal Sequence
● A Sinusoidal Sequence is defined as: x[n]=Acos(ωn+ϕ), where A is the amplitude, ω
the angular frequency, and ϕ the phase shift.
● Sinusoidal Sequences are widely used in digital audio and image processing. Since
any complex signal can be broken down into a sum of sinusoidal sequences (via the
5
Fourier transform), this signal is vital for representing periodic phenomena in digital
systems, from sound waves in audio processing to pixel patterns in image processing.
LAB: Basic_Discrete.py
ts
en
ud
St
ar
ye
d
3r
g
rin
ee
in
● A system is a set of components that process input signals to produce output signals.
te
● Systems are foundational in fields such as engineering and computer science. For
example, in audio processing, a system may transform an audio signal to improve its
quality through filtering.
2. Deterministic and Stochastic Systems
● Deterministic: In a deterministic system, the output is precisely determined by the
input without any randomness. For instance, an electric circuit with fixed parameters
will always yield the same output for a given input.
6
● Stochastic: In contrast, a stochastic system incorporates randomness, meaning the
same input can produce different outputs. Weather forecasting models are examples of
stochastic systems, as they account for random atmospheric variables.
3. Continuous-Time and Discrete-Time Systems
● Continuous-Time: These systems process signals defined for every instant in time,
such as analog audio signals. The input and output signals x and y are continuous-time
signals.
ts
● Discrete-Time: These systems operate on signals defined at discrete time intervals,
en
such as digital audio signals sampled at specific rates. The input and output signals
ud
are discrete-time signals or sequences. Digital signal processors (DSPs) in
St
smartphones are examples of discrete-time systems.
ar
ye
4. Memory and Memoryless Systems d
3r
● A system is said to be memoryless if the output at any time depends on only the input
g
rin
at that same time. Otherwise, the system is said to have memory. An example of a
memoryless system is a resistor R with the input x(t) taken as the current and the
ee
voltage taken as the output y(t). The input-output relationship (Ohm’s law) of a
in
resistor is y(t)=Rx(t).
ng
● An example of a system with memory is a capacitor C with the current as the input
rE
● Causal: A causal system produces an output at any time based only on current and
past inputs. Most real-world systems, like a thermostat, are causal, as they respond
Fo
7
6. Linear and Nonlinear Systems
● Linear: A linear system satisfies the principles of additivity (the output for the sum of
inputs equals the sum of the outputs for each input) and homogeneity (scaling the
input scales the output by the same factor). An example is a linear amplifier.
● Nonlinear: In nonlinear systems, these principles do not hold. For instance, a diode's
response to voltage is nonlinear, making it crucial in many electronic applications.
7. Time-Invariant and Time-Varying Systems
ts
● A system is called time-invariant if a time shift (delay or advance) in the input signal
en
causes the same time shift in the output signal. A system which does not satisfy this is
ud
called a time-varying system.
St
ar
8. Stable and Unstable Systems
ye
● Stable: A stable system produces bounded outputs for bounded inputs, meaning it
d
behaves predictably. For instance, a properly designed control system that maintains a
3r
vehicle's speed is stable.
g
rin
9. Feedback Systems
ng
● A feedback system is one that utilizes its output to adjust its future behavior. There are
rE
two types: positive feedback (amplifies output) and negative feedback (reduces
te
output).
pu
● Feedback systems are widely used in control systems, such as cruise control in
om
vehicles, which adjusts the throttle based on speed to maintain a desired velocity.
rC
LAB: Cont_Dis_System.py
Fo
LAB: Memory_Memory_Less.py
LAB: Linear_Non_Linear.py